Have CREATE TABLE LIKE add OID column if any LIKEd table has one
Bruce Momjian <bruce@momjian.us>
Have CREATE TABLE LIKE add OID column if any LIKEd table has one Also, process constraints for LIKEd tables at the end so an OID column can be referenced in a constraint. Report by Tom Lane
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/parse_utilcmd.c | modified | +39 −5 |
| src/test/regress/expected/create_table_like.out | modified | +27 −0 |
| src/test/regress/expected/create_table.out | modified | +3 −0 |
| src/test/regress/sql/create_table_like.sql | modified | +13 −0 |
| src/test/regress/sql/create_table.sql | modified | +4 −0 |