Re: Bug #722: SELECT FOR UPDATE bug - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #722: SELECT FOR UPDATE bug
Date
Msg-id 4583.1027785525@sss.pgh.pa.us
Whole thread Raw
In response to Bug #722: SELECT FOR UPDATE bug  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
>   SELECT * FROM employees
>   WHERE status = 'A'
>   LIMIT 1
>   FOR UPDATE;

> The problem, in the previous sentence, is block every record on
> employees, although we want one record, we want limit 1.

I do not believe that.  Could you give a more complete example of
your problem?

It would also help if you'd state which Postgres version you're using.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Bug #717: timestamp is converted to timestamptz
Next
From: Kathy zhu
Date:
Subject: bug "\! cd"