From a9f2e31cf653bad72debae616521130065e55077 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 10 Jan 2012 21:46:29 +0200 Subject: Support CREATE TABLE (LIKE ...) with foreign tables and views Composite types are not yet supported, because parserOpenTable() rejects them. --- doc/src/sgml/ref/create_table.sgml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index 97968bb9eb2..f55a0010de5 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -368,6 +368,11 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI If the same name is specified explicitly or in another LIKE clause, an error is signalled. + + The LIKE clause can also be used to copy columns from + views or foreign tables. Inapplicable options (e.g., INCLUDING + INDEXES from a view) are ignored. + -- cgit v1.2.3