OSDN Git Service

Remove not-really-standard implementation of CREATE TABLE's UNDER clause,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Jan 2001 06:34:23 +0000 (06:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Jan 2001 06:34:23 +0000 (06:34 +0000)
commit2fb6cc904555024ef668f5ba096b5bf0ddd3ec26
tree267b9c28722477567b05001e1e37cf03afc7dc09
parente62c38d0fccd16593ab2b126e97ea890ac646943
Remove not-really-standard implementation of CREATE TABLE's UNDER clause,
and revert documentation to describe the existing INHERITS clause
instead, per recent discussion in pghackers.  Also fix implementation
of SQL_inheritance SET variable: it is not cool to look at this var
during the initial parsing phase, only during parse_analyze().  See
recent bug report concerning misinterpretation of date constants just
after a SET TIMEZONE command.  gram.y really has to be an invariant
transformation of the query string to a raw parsetree; anything that
can vary with time must be done during parse analysis.
19 files changed:
doc/src/sgml/advanced.sgml
doc/src/sgml/inherit.sgml
doc/src/sgml/ref/alter_table.sgml
doc/src/sgml/ref/create_table.sgml
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/analyze.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/parser/parse_clause.c
src/backend/tcop/utility.c
src/bin/pgaccess/lib/help/create_table.hlp
src/bin/pgaccess/lib/help/inheritance.hlp
src/include/nodes/parsenodes.h
src/include/parser/parse_clause.h
src/interfaces/ecpg/preproc/keywords.c
src/interfaces/ecpg/preproc/preproc.y
src/test/regress/expected/inherit.out
src/test/regress/sql/inherit.sql