Re: Entities created in one query not available in another in extended protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Entities created in one query not available in another in extended protocol
Дата
Msg-id 18764.1434035044@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Entities created in one query not available in another in extended protocol  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Entities created in one query not available in another in extended protocol
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: 9.5 release notes