Re: Online index builds - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Online index builds
Date
Msg-id 200608011234.k71CYaP28384@momjian.us
Whole thread Raw
In response to Re: Online index builds  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: float8 regression failure (HEAD, cygwin)
Next
From: "Adrian Maier"
Date:
Subject: Re: float8 regression failure (HEAD, cygwin)