Re: Bug #722: SELECT FOR UPDATE bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: paviles(at)its(dot)co(dot)cr, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #722: SELECT FOR UPDATE bug
Date: 2002-07-27 15:58:45
Message-ID: 4583.1027785525@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Marko Mikulicic 2002-07-28 02:53:26 Money locale currency symbol position
Previous Message Thomas Lockhart 2002-07-27 15:01:27 Re: Bug #717: timestamp is converted to timestamptz