From: Larry Rosenman <ler@lerctr.org>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Rod Taylor <rbt@zort.ca>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [SQL] LIMIT 1 FOR UPDATE or FOR UPDATE LIMIT 1?
Date: 28 Aug 2002 21:16:35 -0500
Message-ID: <1030587397.1287.25.camel@lerlaptop.lerctr.org> (raw)
In-Reply-To: <200208282229.14628.xzilla@users.sourceforge.net>
References: <200208290114.g7T1EGO29372@candle.pha.pa.us>
<200208282229.14628.xzilla@users.sourceforge.net>
On Wed, 2002-08-28 at 21:29, Robert Treat wrote:
>
> I think after the LIMIT and FOR UPDATE explanations (but before the note about
> SELECT privilege) you could add a note that "for backwards compatibility
> reasons the LIMIT and FOR UPDATE clauses are interchangeable" though maybe
> interchangeable isn't the best word...
How about "for backwards compatibility reasons the LIMIT and FOR UPDATE
clauses can appear in either order, I.E. LIMIT 1 FOR UPDATE and FOR
UPDATE LIMIT 1 are equivalent".
>
> > For COPY, we could just put the old syntax at the bottom of the manual
> > page and mention it is depricated.
>
> In both cases I don't know that a detailed explination is needed, but a
> mention of the different possibility and perhaps a suggestion to look at an
> old version of the docs for complete details should go a long way.
I suspect that Bruce's suggestion is best, modulo a spell check :-).
>
> Robert Treat
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
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: ler@lerctr.org, xzilla@users.sourceforge.net, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, peter_e@gmx.net, rbt@zort.ca, pgsql-hackers@postgresql.org
Subject: Re: [SQL] LIMIT 1 FOR UPDATE or FOR UPDATE LIMIT 1?
In-Reply-To: <1030587397.1287.25.camel@lerlaptop.lerctr.org>
* 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