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 [EMAIL PROTECTED] EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq