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

Re: cursors FOR UPDATE don't return most recent row

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cursors FOR UPDATE don't return most recent row
Date: 2012-01-28 04:35:33
Message-ID: 4086.1327725333@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> I expected the FETCH to return one row, with the latest data, i.e.
> (1, 3), but instead it's returning empty.

This is the same thing I was complaining about in the bug #6123 thread,
http://archives.postgresql.org/message-id/9698.1327266271@sss.pgh.pa.us

It looks a bit ticklish to fix.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Noah MischDate: 2012-01-28 04:52:19
Subject: Re: initdb and fsync
Previous:From: Tom LaneDate: 2012-01-28 04:30:34
Subject: Re: Temp file missing during large pgbench data set

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