Re: BUG #2963: PQprepare and transactions. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2963: PQprepare and transactions.
Date
Msg-id 29642.1170738596@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2963: PQprepare and transactions.  ("DUVAL Jean-Pierre" <jp.duval@up-comp.com>)
List pgsql-bugs
"DUVAL Jean-Pierre" <jp.duval@up-comp.com> writes:
> It seems that PQprepare() is using something like DECLARE CURSOR WITHOUT
> HOLD, that is impacted by transactions:
> X) Either destroyed at the end of the transaction.
> Y) Or not possible to do when a transaction is open.

This conclusion is incorrect.  I can't tell what's going wrong in your
program, because you did not show it to us, but that's not it.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: BUG #2961: NULL values in subselects force NOT IN to false
Next
From: Tom Lane
Date:
Subject: Re: BUG #2962: 8.2.1 lo_creat Documentation incorrect?