Re: Regression in pipeline mode in libpq 14.5

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Regression in pipeline mode in libpq 14.5
Дата
Msg-id 20220815152437.sg64tinuamfukbhz@alvherre.pgsql
обсуждение исходный текст
Ответ на Regression in pipeline mode in libpq 14.5  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: Regression in pipeline mode in libpq 14.5  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список pgsql-bugs
On 2022-Aug-14, Daniele Varrazzo wrote:

> The execute() runs an implicit BEGIN, which is also executed in
> pipeline mode. Exiting the pipeline() block causes a Sync. So we
> expect 3 results in the pipeline (a COMMAND_OK after BEGIN, a
> TUPLES_OK after SELECT, a PIPELINE_SYNC).

Hmm, it seems (judging only from comparing your two traces) that the
problem stems from the newly added hack to handle CloseComplete.  I'll
have a look later in the week.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"No hay ausente sin culpa ni presente sin disculpa" (Prov. francés)



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

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: [PATCH] Fix segfault calling PQflush on invalid connection
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Fix segfault calling PQflush on invalid connection