postgresql/src/interfaces
Alvaro Herrera 27ca0bce5f
libpq: Reset singlerow flag correctly in pipeline mode
When a query whose results were requested in single-row mode is the last
in the queue by the time those results are being read, the single-row
flag was not being reset, because we were returning early from
pqPipelineProcessQueue.  Move that stanza up so that the flag is always
reset at the end of sending that query's results.

Add a test for the situation.

Backpatch to 14.

Author: Denis Laxalde <denis.laxalde@dalibo.com>
Discussion: https://postgr.es/m/01af18c5-dacc-a8c8-07ee-aecc7650c3e8@dalibo.com
2022-10-14 19:06:26 +02:00
..
ecpg Translation updates 2022-10-10 12:03:38 +02:00
libpq libpq: Reset singlerow flag correctly in pipeline mode 2022-10-14 19:06:26 +02:00
Makefile Fix parallel make when running make install before make all 2011-03-08 23:52:29 +02:00