Hiroshi Inoue <in...@tpf.co.jp> writes: > (2013/06/12 1:26), Andres Freund wrote: >> I'd guess creating a SQL level WITH HOLD cursor and then fetching that >> via the extended protocol, outside the transaction, should do the trick.
> OK I made a test C program which reproduces the crash. > The program uses libpq and a hack. I've committed a fix for this. Thanks again for the test case. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs