Skip to content

Commit e80084d

Browse files
author
Marina Polyakova
committed
Fix GUCs for select_parallel regression test
max_parallel_workers_per_gather = 0 breaks new checks in select_parallel regression test, see the commit adc28d01e98bdfaf9720d363447124d22565620a (Allow adjusting session_authorization and role in parallel workers.) in PostgreSQL 12. So use PGOPTIONS as done in other aqo versions. E.g. see the commit f84caae (One more step towards improving the AQO regression tests stability.) in the stable13 branch.
1 parent 3e82f48 commit e80084d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ REGRESS = aqo_disabled \
2323
gucs
2424
endif
2525

26+
# Set default values of some gucs to be stable on custom settings during
27+
# a kind of installcheck
28+
PGOPTIONS = --max_parallel_workers_per_gather=0
29+
export PGOPTIONS
30+
2631
fdw_srcdir = $(top_srcdir)/contrib/postgres_fdw
2732
PG_CPPFLAGS += -I$(libpq_srcdir) -I$(fdw_srcdir)
2833
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add

conf.add

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
autovacuum = off
22
shared_preload_libraries = 'postgres_fdw, aqo'
3-
max_parallel_workers_per_gather = 0

0 commit comments

Comments
 (0)