Tom Lane wrote:
> 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.
I was going to use our tab-completion code, which I think handles all
these.
-- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +