[MASSMAIL]pgsql: Disable parallel query in psql error-with-FETCH_COUNT test. - Mailing list pgsql-committers

From Tom Lane
Subject [MASSMAIL]pgsql: Disable parallel query in psql error-with-FETCH_COUNT test.
Date
Msg-id E1rtHf5-000tle-LF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Disable parallel query in psql error-with-FETCH_COUNT test.

The buildfarm members using debug_parallel_query = regress are mostly
unhappy with this test.  I guess what is happening is that rows
generated by a parallel worker are buffered, and might or might not
get to the leader before the expected error occurs.  We did not see
any variability in the old version of this test because each FETCH
would succeed or fail atomically, leading to a predictable number of
rows emitted before failure.  I don't find this to be a bug, just
unspecified behavior, so let's disable parallel query for this one
test case to make the results stable.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/beb012b42f5c32f578661fc1b033ca25905b27d6

Modified Files
--------------
src/test/regress/expected/psql.out | 3 +++
src/test/regress/sql/psql.sql      | 3 +++
2 files changed, 6 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Support retrieval of results in chunks with libpq.
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix if/while thinko in read_stream.c edge case.