Re: Entities created in one query not available in another in extended protocol - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Entities created in one query not available in another in extended protocol
Date
Msg-id 18764.1434035044@sss.pgh.pa.us
Whole thread Raw
In response to Re: Entities created in one query not available in another in extended protocol  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2015-06-11 10:50:31 -0400, Tom Lane wrote:
>> I do note that if a transaction is implicitly started to execute these
>> messages, it's not closed until Sync.  But that should only affect the
>> visibility of the results to other sessions, not to the current one.
>> There's definitely a CommandCounterIncrement in exec_execute_message ...

> exec_execute_message() only does so if the command has run to
> completion. Shay, Is it possible that a row limit was used and the
> commands didn't run fully?

That wouldn't affect utility statements like CREATE FUNCTION or CREATE
TABLE, though.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Entities created in one query not available in another in extended protocol
Next
From: Bruce Momjian
Date:
Subject: Re: 9.5 release notes