Bruce Momjian <bruce@momjian.us> writes:
> CREATE [ UNIQUE ] INDEX name ON table
> [ USING method ] [ [ENABLE] WRITE [ACCESS] ]
> ( { column | ( expression ) } [ opclass ] [, ...] )
> [ WITH ( storage_parameter = value [, ... ] ) ]
> [ TABLESPACE tablespace ]
> [ WHERE predicate ]
> This is clear, and adds no new keywords.
... and is very very painful for psql to parse. If you want this,
*you* write the patch for command_no_begin(). Be sure to handle
quoted and schema-qualified identifiers properly.
regards, tom lane