Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: SELECT FOR UPDATE and LIMIT 1 behave oddly


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: josh(at)agliodbs(dot)com
  • Cc: pgsql-bugs(at)postgresql(dot)org
  • Subject: Re: SELECT FOR UPDATE and LIMIT 1 behave oddly
  • Date: Thu, 14 Oct 2004 00:02:32 -0400
  • Message-id: <25217.1097726552@sss.pgh.pa.us> <text/plain>

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Summary:  SELECT FOR UPDATE and LIMIT behave oddly when combined

The FOR UPDATE part executes after the LIMIT part.  Arguably this is a
bad thing, but I'm concerned about the compatibility issues if we change
it.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group