Re: Regression in pipeline mode in libpq 14.5
Alvaro Herrera <alvherre@alvh.no-ip.org>
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Date: 2022-08-15T15:24:37Z
Lists: 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)
Commits
-
Remove PQsendQuery support in pipeline mode
- bd8ac900df4d 15.0 landed
- 0032a5456708 16.0 landed
-
Stop using PQsendQuery in libpq_pipeline
- d11a41a4ce79 16.0 landed
- 27e04412c9c3 15.0 landed
- 1c03166352c3 14.6 landed