Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group