pgsql: Rename the internal structures of the CREATE TABLE (LIKE ...) fa

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename the internal structures of the CREATE TABLE (LIKE ...) fa
Date: 2012-01-07 21:21:46
Message-ID: E1Rjdhy-0001RV-64@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/db49517c62750322fb2a37ff6324ecc00965e641

Modified Files
--------------
doc/src/sgml/ref/create_table.sgml | 4 +-
src/backend/nodes/copyfuncs.c | 10 +-
src/backend/nodes/equalfuncs.c | 6 +-
src/backend/nodes/outfuncs.c | 8 +-
src/backend/parser/gram.y | 10 +-
src/backend/parser/parse_utilcmd.c | 38 ++--
src/include/nodes/nodes.h | 2 +-
src/include/nodes/parsenodes.h | 12 +-
src/test/regress/expected/create_table_like.out | 222 ++++++++++++++++
src/test/regress/expected/inherit.out | 309 ++++-------------------
src/test/regress/expected/sanity_check.out | 3 +-
src/test/regress/output/misc.source | 3 +-
src/test/regress/parallel_schedule | 2 +-
src/test/regress/serial_schedule | 1 +
src/test/regress/sql/create_table_like.sql | 99 ++++++++
src/test/regress/sql/inherit.sql | 137 ++---------
16 files changed, 431 insertions(+), 435 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2012-01-09 14:48:04 npgsql - Npgsql2: Fix [#1011138] Connection pooling performance suffers
Previous Message Tom Lane 2012-01-07 20:40:03 pgsql: Use __sync_lock_test_and_set() for spinlocks on ARM, if availabl