pgsql: Fix pgstattuple test with forced parallel queries

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pgstattuple test with forced parallel queries
Date: 2026-11-18 18:46:58
Message-ID: E1xTkgL-00000000HJj-1ZD4@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pgstattuple test with forced parallel queries

Commit 8c15c2cb5c4 added a pgstattuple test using a temporary table.
When debug_parallel_query is set to regress, pgstattuple_approx() runs
in a parallel worker that cannot access the temporary table.

Disable forced parallel execution locally for this query.

Per buildfarm.
Backpatch-through: 15

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5861eabe38123fca1f00a7b9ae63810cae4054f1

Modified Files
--------------
contrib/pgstattuple/expected/pgstattuple.out | 3 +++
contrib/pgstattuple/sql/pgstattuple.sql | 3 +++
2 files changed, 6 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2026-11-18 18:47:45 pgsql: Fix pgstattuple test with forced parallel queries
Previous Message Masahiko Sawada 2026-11-18 18:30:45 pgsql: Fall back to serializing when parallel apply runs out of DSM seg