Обсуждение: [MASSMAIL]pgsql: Disable parallel query in psql error-with-FETCH_COUNT test.

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(+)