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