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

Re: select for update

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Craig James <craig_james(at)emolecules(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: select for update
Date: 2011-04-22 20:58:44
Message-ID: 10313.1303505924@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Craig James <craig_james(at)emolecules(dot)com> writes:
>    select objectid from archive where db_id is null limit 1 for update

The interaction between LIMIT and FOR UPDATE changed in 9.0 ... what
PG version are you using?

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Craig JamesDate: 2011-04-22 23:10:36
Subject: Re: select for update
Previous:From: Kevin GrittnerDate: 2011-04-22 20:25:05
Subject: Re: select for update

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group