Re: Odd query execution behavior with extended protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Odd query execution behavior with extended protocol
Дата
Msg-id 32741.1443976832@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Odd query execution behavior with extended protocol  (Shay Rojansky <roji@roji.org>)
Список pgsql-hackers
Shay Rojansky <roji@roji.org> writes:
>> Try adding a sync before the second execute.

> I tried inserting a Sync right before the second Execute, this caused an
> error with the message 'portal "MQ1" does not exist'.
> This seems like problematic behavior on its own, regardless of my issues
> here (Sync shouldn't be causing an implicit close of the portal, should
> it?).

Sync results in closing the transaction, if you've not explicitly executed
a BEGIN.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Odd query execution behavior with extended protocol
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: check fails on Fedora 23