aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-03-03 16:03:05 +0200
committerPeter Eisentraut <peter_e@gmx.net>2012-03-03 16:03:05 +0200
commitb59ca98209d45f5689fe9de22a7429d4cf09d40c (patch)
tree9fe87307dd4e38dbc376e9c7c8ab5f74c282a9c2 /doc/src/sgml/ref
parentd923125b77c5d698bb8107a533a21627582baa43 (diff)
downloadpostgresql-b59ca98209d45f5689fe9de22a7429d4cf09d40c.tar.gz
postgresql-b59ca98209d45f5689fe9de22a7429d4cf09d40c.zip
Allow CREATE TABLE (LIKE ...) from composite type
The only reason this didn't work before was that parserOpenTable() rejects composite types. So use relation_openrv() directly and manually do the errposition() setup that parserOpenTable() does.
Diffstat (limited to 'doc/src/sgml/ref')
-rw-r--r--doc/src/sgml/ref/create_table.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index f55a0010de5..bb932142102 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -370,7 +370,7 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
</para>
<para>
The <literal>LIKE</literal> clause can also be used to copy columns from
- views or foreign tables. Inapplicable options (e.g., <literal>INCLUDING
+ views, foreign tables, or composite types. Inapplicable options (e.g., <literal>INCLUDING
INDEXES</literal> from a view) are ignored.
</para>
</listitem>