From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Rod Taylor <pg(at)rbt(dot)ca>, Greg Stark <gsstark(at)mit(dot)edu> |
Subject: | Re: Better name/syntax for "online" index creation |
Date: | 2006-07-25 14:26:06 |
Message-ID: | 200607251426.k6PEQ6u01682@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | William ZHANG | 2006-07-25 14:33:28 | Patch for VS.Net 2005's strxfrm() bug |
Previous Message | Csaba Nagy | 2006-07-25 14:09:38 | Re: Better name/syntax for "online" index creation |