From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Rod Taylor <pg(at)rbt(dot)ca>, pgsql-hackers(at)postgresql(dot)org, Greg Stark <gsstark(at)mit(dot)edu> |
Subject: | Re: Better name/syntax for "online" index creation |
Date: | 2006-07-25 05:05:34 |
Message-ID: | 5471.1153803934@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Bruce Momjian <bruce(at)momjian(dot)us> writes:
> OK, how about CREATE INDEX x NOLOCK ON tab ... Please don't use it as
> the first word. I am afraid we would regret that.
> Or maybe CREATE INDEX x ON tab NOLOCK.... Having the NOLOCK
> associated with the table name makes sense.
psql would be a lot happier if the NOLOCK keyword were in front of
either of the identifiers. Otherwise it's got to deal with quoting
and possible schema qualification.
I have no objection to either of these syntaxes as long as someone else
writes the psql patch, however ;-)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | mark | 2006-07-25 05:08:55 | Re: On-disk bitmap index patch |
Previous Message | Bruce Momjian | 2006-07-25 04:55:48 | Re: Better name/syntax for "online" index creation |