]> granicus.if.org Git - postgresql/commit
Rename the internal structures of the CREATE TABLE (LIKE ...) facility
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 7 Jan 2012 12:58:13 +0000 (14:58 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 7 Jan 2012 21:02:33 +0000 (23:02 +0200)
commitdb49517c62750322fb2a37ff6324ecc00965e641
tree6ebb1b135e88ee634f529faf237af2034ee926ca
parent0a41e865845bfa5d7aafcc5fe000dafa26573fef
Rename the internal structures of the CREATE TABLE (LIKE ...) facility

The original implementation of this interpreted it as a kind of
"inheritance" facility and named all the internal structures
accordingly.  This turned out to be very confusing, because it has
nothing to do with the INHERITS feature.  So rename all the internal
parser infrastructure, update the comments, adjust the error messages,
and split up the regression tests.
16 files changed:
doc/src/sgml/ref/create_table.sgml
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/parser/gram.y
src/backend/parser/parse_utilcmd.c
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h
src/test/regress/expected/create_table_like.out [new file with mode: 0644]
src/test/regress/expected/inherit.out
src/test/regress/expected/sanity_check.out
src/test/regress/output/misc.source
src/test/regress/parallel_schedule
src/test/regress/serial_schedule
src/test/regress/sql/create_table_like.sql [new file with mode: 0644]
src/test/regress/sql/inherit.sql