summaryrefslogtreecommitdiff
path: root/src/bin/pgaccess/lib/help/create_table.hlp
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-01-05 06:34:23 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-01-05 06:34:23 +0000
commit2fb6cc904555024ef668f5ba096b5bf0ddd3ec26 (patch)
tree267b9c28722477567b05001e1e37cf03afc7dc09 /src/bin/pgaccess/lib/help/create_table.hlp
parente62c38d0fccd16593ab2b126e97ea890ac646943 (diff)
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.
Diffstat (limited to 'src/bin/pgaccess/lib/help/create_table.hlp')
-rw-r--r--src/bin/pgaccess/lib/help/create_table.hlp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pgaccess/lib/help/create_table.hlp b/src/bin/pgaccess/lib/help/create_table.hlp
index b344edebd04..c55548bfb01 100644
--- a/src/bin/pgaccess/lib/help/create_table.hlp
+++ b/src/bin/pgaccess/lib/help/create_table.hlp
@@ -9,7 +9,7 @@ CREATE \[ TEMPORARY | TEMP \] TABLE table (
\[, PRIMARY KEY ( column \[, ...\] ) \]
\[, CHECK ( condition ) \]
\[, table_constraint_clause \]
- ) \[ UNDER inherited_table \[, ...\] \]
+ ) \[ INHERITS ( inherited_table \[, ...\] ) \]
" {code} "
TEMPORARY
The table is created only for this session, and is automatically dropped on session exit. Existing permanent tables with the same name are not visible while the temporary table exists.