]> granicus.if.org Git - postgresql/commit
Allow casting a table's row type to the table's supertype if it's a typed table
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 1 Jan 2011 20:44:32 +0000 (22:44 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 1 Jan 2011 21:04:14 +0000 (23:04 +0200)
commit6a208aa40438652e2f3129a63af5d08ae53d9398
tree9946b11e74e4c6ebaefbaf5ab55519a15c84a6ac
parent92a73d219052ab4d393ebe7b5362aa7d414156e7
Allow casting a table's row type to the table's supertype if it's a typed table

This is analogous to the existing facility that allows casting a row type to a
supertable's row type.
src/backend/parser/parse_coerce.c
src/test/regress/expected/typed_table.out
src/test/regress/sql/typed_table.sql