diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-04-22 16:23:02 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-04-22 16:23:02 -0300 |
commit | 50a16e30ebd76e70fc76abb2c8f0cd1e71deac41 (patch) | |
tree | 0479ebfb5f2c57cb47e6eeee457f58afcd9e327f /src/backend/executor/nodeModifyTable.c | |
parent | 450fa1b5ba0e986a20d8c017500c0c0bbf1e0b4b (diff) | |
download | postgresql-50a16e30ebd76e70fc76abb2c8f0cd1e71deac41.tar.gz postgresql-50a16e30ebd76e70fc76abb2c8f0cd1e71deac41.zip |
Use the right type OID after creating a shell type
Commit a2e35b53c39b2a neglected to update the type OID to use further
down in DefineType when TypeShellMake was changed to return
ObjectAddress instead of OID (it got it right in DefineRange, however.)
This resulted in an internal error message being issued when looking up
I/O functions.
Author: Michael Paquier
Also add Asserts() to a couple of other places to ensure that the type
OID being used is as expected.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions