From: Rod Taylor <rbt@zort.ca>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Treat <xzilla@users.sourceforge.net>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Larry Rosenman <ler@lerctr.org>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [SQL] LIMIT 1 FOR UPDATE or FOR UPDATE LIMIT 1?
Date: 28 Aug 2002 22:18:07 -0400
Message-ID: <1030587488.1693.11.camel@jester> (raw)
In-Reply-To: <200208290114.g7T1EGO29372@candle.pha.pa.us>
References: <200208290114.g7T1EGO29372@candle.pha.pa.us>
> Yes, I thought about that. People want to show both SELECT syntaxes,
> but how would you do that --- show the SELECT syntax twice with just
> those last two clauses reversed --- yuck.
select .... [ <stmt group>, ... ]
<stmt group> :
[ FOR UPDATE | LIMIT ]
The above, or something along those lines, would show order
independence.
> We could easily mention that we allow both clause orderings in the text
> somewhere.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rbt@zort.ca, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, xzilla@users.sourceforge.net, peter_e@gmx.net, ler@lerctr.org, pgsql-hackers@postgresql.org
Subject: Re: [SQL] LIMIT 1 FOR UPDATE or FOR UPDATE LIMIT 1?
In-Reply-To: <1030587488.1693.11.camel@jester>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox