CREATE TABLE synopsis - Mailing list pgsql-hackers

From Alvaro Herrera
Subject CREATE TABLE synopsis
Date
Msg-id 20050812161220.GB16468@alvh.no-ip.org
Whole thread Raw
Responses Re: CREATE TABLE synopsis
List pgsql-hackers
The CREATE TABLE synopsis shows this:

CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name ( { column_name data_type [ DEFAULT default_expr ]
[column_constraint [ ... ] ]   | table_constraint   | LIKE parent_table [ { INCLUDING | EXCLUDING } DEFAULTS ] }  [,
...]
 
)

However, we now allow zero-column tables, so it should actually be

CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } ] TABLE table_name ( [ column_name data_type [ DEFAULT default_expr ]
[column_constraint [ ... ] ]   | table_constraint   | LIKE parent_table [ { INCLUDING | EXCLUDING } DEFAULTS ] ]  [,
...]
 
)

Right?

-- 
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)


pgsql-hackers by date:

Previous
From: Mark Wong
Date:
Subject: Re: data on devel code perf dip
Next
From: Bruce Momjian
Date:
Subject: Re: pthread stack on FreeBSD WAS: HEAD doesn't cope with libraries