Re: Better name/syntax for "online" index creation - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Better name/syntax for "online" index creation
Date
Msg-id 200607251426.k6PEQ6u01682@momjian.us
Whole thread Raw
In response to Re: Better name/syntax for "online" index creation  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Am Dienstag, 25. Juli 2006 06:55 schrieb Bruce Momjian:
> > Or maybe CREATE INDEX x ON tab NOLOCK....  Having the NOLOCK
> > associated with the table name makes sense.
> 
> Semantically, NOLOCK (or whatever word) seems most closely associated with 
> CREATE INDEX, so having it as third word would make sense, and it would be 
> quite easy to parse for psql.
> 
> Strictly speaking, however, it would have to be NOLOCKLY in that case. :-)

We can use the same code we use in psql for tab completion to find a
keyword in the line.

--  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: 64-bit integers for GUC
Next
From: Tom Lane
Date:
Subject: Re: Forcing current WAL file to be archived