summaryrefslogtreecommitdiff
path: root/src/test/modules
diff options
context:
space:
mode:
authorDaniel Gustafsson2023-03-02 12:49:39 +0000
committerDaniel Gustafsson2023-03-02 12:49:39 +0000
commit7ab1bc2939f32aa995bdb81eaac3bb28f908e980 (patch)
tree79df7e4ce1b2ea07fa4da8576fe2faa455862dcd /src/test/modules
parent4ac30ba4f29d4b586b131404b0d514f16501272a (diff)
Fix outdated references to guc.c
Commit 0a20ff54f split out the GUC variables from guc.c into a new file guc_tables.c. This updates comments referencing guc.c regarding variables which are now in guc_tables.c. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/6B50C70C-8C1F-4F9A-A7C0-EEAFCC032406@yesql.se
Diffstat (limited to 'src/test/modules')
-rw-r--r--src/test/modules/test_misc/t/003_check_guc.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/modules/test_misc/t/003_check_guc.pl b/src/test/modules/test_misc/t/003_check_guc.pl
index 1786cd19299..e9f33f3c775 100644
--- a/src/test/modules/test_misc/t/003_check_guc.pl
+++ b/src/test/modules/test_misc/t/003_check_guc.pl
@@ -13,7 +13,7 @@ $node->start;
# Grab the names of all the parameters that can be listed in the
# configuration sample file. config_file is an exception, it is not
-# in postgresql.conf.sample but is part of the lists from guc.c.
+# in postgresql.conf.sample but is part of the lists from guc_tables.c.
my $all_params = $node->safe_psql(
'postgres',
"SELECT name
@@ -82,7 +82,7 @@ is(scalar(@missing_from_file),
0, "no parameters missing from postgresql.conf.sample");
my @missing_from_list = grep(!$all_params_hash{$_}, @gucs_in_file);
-is(scalar(@missing_from_list), 0, "no parameters missing from guc.c");
+is(scalar(@missing_from_list), 0, "no parameters missing from guc_tables.c");
my @sample_intersect = grep($not_in_sample_hash{$_}, @gucs_in_file);
is(scalar(@sample_intersect),
@@ -91,12 +91,12 @@ is(scalar(@sample_intersect),
# These would log some information only on errors.
foreach my $param (@missing_from_file)
{
- print("found GUC $param in guc.c, missing from postgresql.conf.sample\n");
+ print("found GUC $param in guc_tables.c, missing from postgresql.conf.sample\n");
}
foreach my $param (@missing_from_list)
{
print(
- "found GUC $param in postgresql.conf.sample, with incorrect info in guc.c\n"
+ "found GUC $param in postgresql.conf.sample, with incorrect info in guc_tables.c\n"
);
}
foreach my $param (@sample_intersect)