git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 450fa1b) | patch
Use the right type OID after creating a shell type
2015年4月22日 19:23:02 +0000 (16:23 -0300)
2015年4月22日 19:23:02 +0000 (16:23 -0300)
commit 50a16e30ebd76e70fc76abb2c8f0cd1e71deac41
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.
src/backend/commands/typecmds.c diff | blob | blame | history
src/test/regress/expected/create_type.out diff | blob | blame | history
src/test/regress/sql/create_type.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /