Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly