Craig James <craig_james@emolecules.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
pgsql-admin by date:
Соглашаюсь с условиями обработки персональных данных