Add test for postgresql.conf.sample line syntax
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 14 Nov 2025 22:44:56 +0000 (23:44 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 14 Nov 2025 22:44:56 +0000 (23:44 +0100)
commit446568c22207795da02e26b6b2956a61bd17e912
tree7fccffc1e6498d62e4f25f548a7ed4dbe79975b1
parent478c4814a05262c0312c813bf393c4736d76f3f9
Add test for postgresql.conf.sample line syntax

All GUCs in postgresql.conf.sample should be set to the default
value and be commented out.  This syntax was however not tested
for, making omissions easy to miss.  Add a test which check all
lines for syntax.

Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/19727040-3EE4-4719-AF4F-2548544113D7@yesql.se
src/test/modules/test_misc/t/003_check_guc.pl