Re: CommandStatus from insert returning when using a portal.

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: CommandStatus from insert returning when using a portal.
Дата
Msg-id CADK3HH+OEoyn+hj3TJbpHz5jgVKd92rJBD5fB_DAHzEizj+zLQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: CommandStatus from insert returning when using a portal.  (chap@anastigmatix.net)
Список pgsql-hackers



On Fri, 14 Jul 2023 at 13:39, <chap@anastigmatix.net> wrote:
On 2023-07-14 12:58, Dave Cramer wrote:
> See attached pcap file

So if the fetch count is zero and no portal is needed,
or if the fetch count exceeds the row count and the command
completion follows directly with no suspension of the portal, then
it comes with the correct count, but if the portal gets suspended,
then the later command completion reports a zero count?


Seems so, yes.

Dave

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

Предыдущее
От: chap@anastigmatix.net
Дата:
Сообщение: Re: CommandStatus from insert returning when using a portal.
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: PG 16 draft release notes ready