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: (view raw, whole thread or download thread mbox)
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


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-2018 The PostgreSQL Global Development Group