The following bug has been logged online:
Bug reference: 1592
Logged by: Gabor Berenyi
Email address: ber_(at)freemail(dot)hu
PostgreSQL version: 8.0.0
Operating system: i86 Debian Linux 2.4.20
Description: "with hold" cursor problem
Details:
begin;
declare t cursor with hold for select function() as x from R;
commit;
Documentation says that the rows represented by a held cursor are copied
into a temporary file or memory area, but they are not, if they are results
of a function call. Instead, "commit" aborts the connection.