Fix 003_check_guc.pl when loading modules with custom GUCs
authorMichael Paquier <michael@paquier.xyz>
Thu, 2 Nov 2023 03:38:05 +0000 (12:38 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 2 Nov 2023 03:38:05 +0000 (12:38 +0900)
commit40d5e5981cc0fa81710dc2399b063a522c36fd68
tree58ab5865da600498fe26fd1b3195873b66f1b823
parentcac169d686eddb277880a0d8a760ac3007b4846a
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
src/test/modules/test_misc/t/003_check_guc.pl