pgsql: Fix 003_check_guc.pl when loading modules with custom GUCs

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix 003_check_guc.pl when loading modules with custom GUCs
Date: 2023-11-02 03:38:51
Message-ID: E1qyOXi-003WhD-MO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix 003_check_guc.pl when loading modules with custom GUCs

The test missed that custom GUCs need to be ignored from the list of
parameters that can exist in postgresql.conf.sample. This caused the
test to fail on a server where such a module is loaded, when using
EXTRA_INSTALL and TEMP_CONFIG, for instance.

Author: Anton A. Melnikov
Discussion: https://postgr.es/m/fc5509ce-5144-4dac-8d13-21793da44fc5@postgrespro.ru
Backpatch-through: 15

Branch
------
REL_16_STABLE

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

Modified Files
--------------
src/test/modules/test_misc/t/003_check_guc.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-11-02 05:35:06 pgsql: Prevent startup of logical replication launcher during pg_upgrad
Previous Message David Rowley 2023-11-02 01:31:30 pgsql: Increase DEFAULT_FDW_TUPLE_COST from 0.01 to 0.2