From 63599896545c7869f7dd28cd593e8b548983d613 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Wed, 3 Sep 2025 09:11:48 +0200
Subject: [PATCH] Generate GUC tables from .dat file

Store the information in guc_tables.c in a .dat file similar to the
catalog data in src/include/catalog/, and generate a part of
guc_tables.c from that.  The goal is to make it easier to edit that
information, and to be able to make changes to the downstream data
structures more easily.  (Essentially, those are the same reasons as
for the original adoption of the .dat format.)

Reviewed-by: John Naylor <johncnaylorls@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: David E. Wheeler <david@justatheory.com>
Discussion: https://www.postgresql.org/message-id/flat/dae6fe89-1e0c-4c3f-8d92-19d23374fb10%40eisentraut.org
---
 src/backend/utils/.gitignore              |    1 +
 src/backend/utils/Makefile                |   11 +-
 src/backend/utils/misc/gen_guc_tables.pl  |  131 +
 src/backend/utils/misc/guc_parameters.dat | 3473 +++++++++++++++
 src/backend/utils/misc/guc_tables.c       | 4736 +--------------------
 src/bin/pg_dump/dumputils.c               |    2 +-
 src/include/libpq/libpq.h                 |   18 +
 src/include/utils/.gitignore              |    1 +
 src/include/utils/guc.h                   |   23 +
 src/include/utils/inval.h                 |   18 +
 src/include/utils/meson.build             |    7 +
 src/timezone/pgtz.c                       |    4 +-
 12 files changed, 3683 insertions(+), 4742 deletions(-)
 create mode 100644 src/backend/utils/misc/gen_guc_tables.pl
 create mode 100644 src/backend/utils/misc/guc_parameters.dat

diff --git a/src/backend/utils/.gitignore b/src/backend/utils/.gitignore
index 0685556959..303c01d051 100644
--- a/src/backend/utils/.gitignore
+++ b/src/backend/utils/.gitignore
@@ -2,5 +2,6 @@
 /fmgroids.h
 /fmgrprotos.h
 /fmgr-stamp
+/guc_tables.inc.c
 /probes.h
 /errcodes.h
diff --git a/src/backend/utils/Makefile b/src/backend/utils/Makefile
index 140fbba5c2..985ef52e7e 100644
--- a/src/backend/utils/Makefile
+++ b/src/backend/utils/Makefile
@@ -43,7 +43,7 @@ generated-header-symlinks: $(top_builddir)/src/include/utils/header-stamp submak
 submake-adt-headers:
 	$(MAKE) -C adt jsonpath_gram.h
 
-$(SUBDIRS:%=%-recursive): fmgr-stamp errcodes.h
+$(SUBDIRS:%=%-recursive): fmgr-stamp errcodes.h guc_tables.inc.c
 
 # fmgr-stamp records the last time we ran Gen_fmgrtab.pl.  We don't rely on
 # the timestamps of the individual output files, because the Perl script
@@ -55,6 +55,9 @@ fmgr-stamp: Gen_fmgrtab.pl $(catalogdir)/Catalog.pm $(top_srcdir)/src/include/ca
 errcodes.h: $(top_srcdir)/src/backend/utils/errcodes.txt generate-errcodes.pl
 	$(PERL) $(srcdir)/generate-errcodes.pl --outfile $@ $<
 
+guc_tables.inc.c: $(top_srcdir)/src/backend/utils/misc/guc_parameters.dat $(top_srcdir)/src/backend/utils/misc/gen_guc_tables.pl
+	$(PERL) $(top_srcdir)/src/backend/utils/misc/gen_guc_tables.pl $< $@
+
 ifeq ($(enable_dtrace), yes)
 probes.h: postprocess_dtrace.sed probes.h.tmp
 	sed -f $^ >$@
@@ -70,8 +73,8 @@ endif
 # These generated headers must be symlinked into src/include/.
 # We use header-stamp to record that we've done this because the symlinks
 # themselves may appear older than fmgr-stamp.
-$(top_builddir)/src/include/utils/header-stamp: fmgr-stamp errcodes.h probes.h
-	cd '$(dir $@)' && for file in fmgroids.h fmgrprotos.h errcodes.h probes.h; do \
+$(top_builddir)/src/include/utils/header-stamp: fmgr-stamp errcodes.h probes.h guc_tables.inc.c
+	cd '$(dir $@)' && for file in fmgroids.h fmgrprotos.h errcodes.h probes.h guc_tables.inc.c; do \
 	  rm -f $$file && $(LN_S) "../../../$(subdir)/$$file" . ; \
 	done
 	touch $@
@@ -89,4 +92,4 @@ uninstall-data:
 
 clean:
 	rm -f probes.h probes.h.tmp
-	rm -f fmgroids.h fmgrprotos.h fmgrtab.c fmgr-stamp errcodes.h
+	rm -f fmgroids.h fmgrprotos.h fmgrtab.c fmgr-stamp errcodes.h guc_tables.inc.c
diff --git a/src/backend/utils/misc/gen_guc_tables.pl b/src/backend/utils/misc/gen_guc_tables.pl
new file mode 100644
index 0000000000..bc8233f2d3
--- /dev/null
+++ b/src/backend/utils/misc/gen_guc_tables.pl
@@ -0,0 +1,131 @@
+#!/usr/bin/perl
+#----------------------------------------------------------------------
+#
+# Generate guc_tables.c from guc_parameters.dat.
+#
+# Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
+# Portions Copyright (c) 1994, Regents of the University of California
+#
+# src/backend/utils/misc/gen_guc_tables.pl
+#
+#----------------------------------------------------------------------
+
+use strict;
+use warnings FATAL => 'all';
+
+use FindBin;
+use lib "$FindBin::RealBin/../../catalog";
+use Catalog;
+
+die "Usage: $0 INPUT_FILE OUTPUT_FILE\n" unless @ARGV == 2;
+my ($input_fname, $output_fname) = @ARGV;
+
+my $parse = Catalog::ParseData($input_fname);
+
+open my $ofh, '>', $output_fname or die;
+
+print_boilerplate($ofh, $output_fname, 'GUC tables');
+foreach my $type (qw(bool int real string enum))
+{
+	print_one_table($ofh, $type);
+}
+
+close $ofh;
+
+
+# Adds double quotes and escapes as necessary for C strings.
+sub dquote
+{
+	my ($s) = @_;
+
+	return q{"} . $s =~ s/"/\\"/gr . q{"};
+}
+
+# Print GUC table for one type.
+sub print_one_table
+{
+	my ($ofh, $type) = @_;
+	my $Type = ucfirst $type;
+
+	print $ofh "\n\n";
+	print $ofh "struct config_${type} ConfigureNames${Type}[] =\n";
+	print $ofh "{\n";
+
+	foreach my $entry (@{$parse})
+	{
+		next if $entry->{type} ne $type;
+
+		print $ofh "#ifdef $entry->{ifdef}\n" if $entry->{ifdef};
+		print $ofh "\t{\n";
+		printf $ofh "\t\t{%s, %s, %s,\n",
+		  dquote($entry->{name}),
+		  $entry->{context},
+		  $entry->{group};
+		printf $ofh "\t\t\tgettext_noop(%s),\n", dquote($entry->{short_desc});
+		if ($entry->{long_desc})
+		{
+			printf $ofh "\t\t\tgettext_noop(%s)", dquote($entry->{long_desc});
+		}
+		else
+		{
+			print $ofh "\t\t\tNULL";
+		}
+		if ($entry->{flags})
+		{
+			print $ofh ",\n\t\t\t$entry->{flags}\n";
+		}
+		else
+		{
+			print $ofh "\n";
+		}
+		print $ofh "\t\t},\n";
+		print $ofh "\t\t&$entry->{variable},\n";
+		print $ofh "\t\t$entry->{boot_val},";
+		print $ofh " $entry->{min},"
+		  if $entry->{type} eq 'int' || $entry->{type} eq 'real';
+		print $ofh " $entry->{max},"
+		  if $entry->{type} eq 'int' || $entry->{type} eq 'real';
+		print $ofh " $entry->{options},"
+		  if $entry->{type} eq 'enum';
+		print $ofh "\n";
+		printf $ofh "\t\t%s, %s, %s\n",
+		  ($entry->{check_hook} || 'NULL'),
+		  ($entry->{assign_hook} || 'NULL'),
+		  ($entry->{show_hook} || 'NULL');
+		print $ofh "\t},\n";
+		print $ofh "#endif\n" if $entry->{ifdef};
+		print $ofh "\n";
+	}
+
+	print $ofh "\t/* End-of-list marker */\n";
+	print $ofh "\t{{0}}\n";
+	print $ofh "};\n";
+
+	return;
+}
+
+sub print_boilerplate
+{
+	my ($fh, $fname, $descr) = @_;
+	printf $fh <<EOM, $fname, $descr;
+/*-------------------------------------------------------------------------
+ *
+ * %s
+ *    %s
+ *
+ * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * NOTES
+ *  ******************************
+ *  *** DO NOT EDIT THIS FILE! ***
+ *  ******************************
+ *
+ *  It has been GENERATED by src/backend/utils/misc/gen_guc_tables.pl
+ *
+ *-------------------------------------------------------------------------
+ */
+EOM
+
+	return;
+}
diff --git a/src/backend/utils/misc/guc_parameters.dat b/src/backend/utils/misc/guc_parameters.dat
new file mode 100644
index 0000000000..02188abf29
--- /dev/null
+++ b/src/backend/utils/misc/guc_parameters.dat
@@ -0,0 +1,3473 @@
+#----------------------------------------------------------------------
+#
+# Contents of GUC tables.
+#
+# See src/backend/utils/misc/README for design notes.
+#
+# Portions Copyright (c) 2000-2025, PostgreSQL Global Development Group
+#
+# src/backend/utils/misc/guc_parameters.dat
+#
+#----------------------------------------------------------------------
+
+[
+
+# TO ADD AN OPTION:
+#
+# 1. Declare a global variable of type bool, int, double, or char* and
+#    make use of it.
+#
+# 2. Decide at what times it's safe to set the option. See guc.h for
+#    details.
+#
+# 3. Decide on a name, a default value, upper and lower bounds (if
+#    applicable), etc.
+#
+# 4. Add a record below.
+#
+# 5. Add it to src/backend/utils/misc/postgresql.conf.sample, if
+#    appropriate.
+#
+# 6. Don't forget to document the option (at least in config.sgml).
+#
+# 7. If it's a new GUC_LIST_QUOTE option, you must add it to
+#    variable_is_guc_list_quote() in src/bin/pg_dump/dumputils.c.
+
+{ name => 'enable_seqscan', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of sequential-scan plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_seqscan',
+  boot_val => 'true',
+},
+
+{ name => 'enable_indexscan', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of index-scan plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_indexscan',
+  boot_val => 'true',
+},
+
+{ name => 'enable_indexonlyscan', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of index-only-scan plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_indexonlyscan',
+  boot_val => 'true',
+},
+
+{ name => 'enable_bitmapscan', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of bitmap-scan plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_bitmapscan',
+  boot_val => 'true',
+},
+
+{ name => 'enable_tidscan', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of TID scan plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_tidscan',
+  boot_val => 'true',
+},
+
+{ name => 'enable_sort', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of explicit sort steps.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_sort',
+  boot_val => 'true',
+},
+
+{ name => 'enable_incremental_sort', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of incremental sort steps.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_incremental_sort',
+  boot_val => 'true',
+},
+
+{ name => 'enable_hashagg', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of hashed aggregation plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_hashagg',
+  boot_val => 'true',
+},
+
+{ name => 'enable_material', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of materialization.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_material',
+  boot_val => 'true',
+},
+
+{ name => 'enable_memoize', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of memoization.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_memoize',
+  boot_val => 'true',
+},
+
+{ name => 'enable_nestloop', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of nested-loop join plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_nestloop',
+  boot_val => 'true',
+},
+
+{ name => 'enable_mergejoin', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of merge join plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_mergejoin',
+  boot_val => 'true',
+},
+
+{ name => 'enable_hashjoin', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of hash join plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_hashjoin',
+  boot_val => 'true',
+},
+
+{ name => 'enable_gathermerge', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of gather merge plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_gathermerge',
+  boot_val => 'true',
+},
+
+{ name => 'enable_partitionwise_join', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables partitionwise join.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_partitionwise_join',
+  boot_val => 'false',
+},
+
+{ name => 'enable_partitionwise_aggregate', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables partitionwise aggregation and grouping.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_partitionwise_aggregate',
+  boot_val => 'false',
+},
+
+{ name => 'enable_parallel_append', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of parallel append plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_parallel_append',
+  boot_val => 'true',
+},
+
+{ name => 'enable_parallel_hash', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of parallel hash plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_parallel_hash',
+  boot_val => 'true',
+},
+
+{ name => 'enable_partition_pruning', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables plan-time and execution-time partition pruning.',
+  long_desc => 'Allows the query planner and executor to compare partition bounds to conditions in the query to determine which partitions must be scanned.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_partition_pruning',
+  boot_val => 'true',
+},
+
+{ name => 'enable_presorted_aggregate', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s ability to produce plans that provide presorted input for ORDER BY / DISTINCT aggregate functions.',
+  long_desc => 'Allows the query planner to build plans that provide presorted input for aggregate functions with an ORDER BY / DISTINCT clause.  When disabled, implicit sorts are always performed during execution.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_presorted_aggregate',
+  boot_val => 'true',
+},
+
+{ name => 'enable_async_append', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables the planner\'s use of async append plans.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_async_append',
+  boot_val => 'true',
+},
+
+{ name => 'enable_self_join_elimination', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables removal of unique self-joins.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_self_join_elimination',
+  boot_val => 'true',
+},
+
+{ name => 'enable_group_by_reordering', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables reordering of GROUP BY keys.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_group_by_reordering',
+  boot_val => 'true',
+},
+
+{ name => 'enable_distinct_reordering', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables reordering of DISTINCT keys.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_distinct_reordering',
+  boot_val => 'true',
+},
+
+{ name => 'geqo', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'Enables genetic query optimization.',
+  long_desc => 'This algorithm attempts to do planning without exhaustive searching.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'enable_geqo',
+  boot_val => 'true',
+},
+
+# Not for general use --- used by SET SESSION AUTHORIZATION and SET
+# ROLE
+{ name => 'is_superuser', type => 'bool', context => 'PGC_INTERNAL', group => 'UNGROUPED',
+  short_desc => 'Shows whether the current user is a superuser.',
+  flags => 'GUC_REPORT | GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_ALLOW_IN_PARALLEL',
+  variable => 'current_role_is_superuser',
+  boot_val => 'false',
+},
+
+# This setting itself cannot be set by ALTER SYSTEM to avoid an
+# operator turning this setting off by using ALTER SYSTEM, without a
+# way to turn it back on.
+{ name => 'allow_alter_system', type => 'bool', context => 'PGC_SIGHUP', group => 'COMPAT_OPTIONS_OTHER',
+  short_desc => 'Allows running the ALTER SYSTEM command.',
+  long_desc => 'Can be set to off for environments where global configuration changes should be made using a different method.',
+  flags => 'GUC_DISALLOW_IN_AUTO_FILE',
+  variable => 'AllowAlterSystem',
+  boot_val => 'true',
+},
+
+{ name => 'bonjour', type => 'bool', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Enables advertising the server via Bonjour.',
+  variable => 'enable_bonjour',
+  boot_val => 'false',
+  check_hook => 'check_bonjour',
+},
+
+{ name => 'track_commit_timestamp', type => 'bool', context => 'PGC_POSTMASTER', group => 'REPLICATION_SENDING',
+  short_desc => 'Collects transaction commit time.',
+  variable => 'track_commit_timestamp',
+  boot_val => 'false',
+},
+
+{ name => 'ssl', type => 'bool', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Enables SSL connections.',
+  variable => 'EnableSSL',
+  boot_val => 'false',
+  check_hook => 'check_ssl',
+},
+
+{ name => 'ssl_passphrase_command_supports_reload', type => 'bool', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Controls whether "ssl_passphrase_command" is called during server reload.',
+  variable => 'ssl_passphrase_command_supports_reload',
+  boot_val => 'false',
+},
+
+{ name => 'ssl_prefer_server_ciphers', type => 'bool', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Give priority to server ciphersuite order.',
+  variable => 'SSLPreferServerCiphers',
+  boot_val => 'true',
+},
+
+{ name => 'fsync', type => 'bool', context => 'PGC_SIGHUP', group => 'WAL_SETTINGS',
+  short_desc => 'Forces synchronization of updates to disk.',
+  long_desc => 'The server will use the fsync() system call in several places to make sure that updates are physically written to disk. This ensures that a database cluster will recover to a consistent state after an operating system or hardware crash.',
+  variable => 'enableFsync',
+  boot_val => 'true',
+},
+
+{ name => 'ignore_checksum_failure', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Continues processing after a checksum failure.',
+  long_desc => 'Detection of a checksum failure normally causes PostgreSQL to report an error, aborting the current transaction. Setting ignore_checksum_failure to true causes the system to ignore the failure (but still report a warning), and continue processing. This behavior could cause crashes or other serious problems. Only has an effect if checksums are enabled.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'ignore_checksum_failure',
+  boot_val => 'false',
+},
+
+{ name => 'zero_damaged_pages', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Continues processing past damaged page headers.',
+  long_desc => 'Detection of a damaged page header normally causes PostgreSQL to report an error, aborting the current transaction. Setting "zero_damaged_pages" to true causes the system to instead report a warning, zero out the damaged page, and continue processing. This behavior will destroy data, namely all the rows on the damaged page.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'zero_damaged_pages',
+  boot_val => 'false',
+},
+
+{ name => 'ignore_invalid_pages', type => 'bool', context => 'PGC_POSTMASTER', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Continues recovery after an invalid pages failure.',
+  long_desc => 'Detection of WAL records having references to invalid pages during recovery causes PostgreSQL to raise a PANIC-level error, aborting the recovery. Setting "ignore_invalid_pages" to true causes the system to ignore invalid page references in WAL records (but still report a warning), and continue recovery. This behavior may cause crashes, data loss, propagate or hide corruption, or other serious problems. Only has an effect during recovery or in standby mode.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'ignore_invalid_pages',
+  boot_val => 'false',
+},
+
+{ name => 'full_page_writes', type => 'bool', context => 'PGC_SIGHUP', group => 'WAL_SETTINGS',
+  short_desc => 'Writes full pages to WAL when first modified after a checkpoint.',
+  long_desc => 'A page write in process during an operating system crash might be only partially written to disk.  During recovery, the row changes stored in WAL are not enough to recover.  This option writes pages when first modified after a checkpoint to WAL so full recovery is possible.',
+  variable => 'fullPageWrites',
+  boot_val => 'true',
+},
+
+{ name => 'wal_log_hints', type => 'bool', context => 'PGC_POSTMASTER', group => 'WAL_SETTINGS',
+  short_desc => 'Writes full pages to WAL when first modified after a checkpoint, even for a non-critical modification.',
+  variable => 'wal_log_hints',
+  boot_val => 'false',
+},
+
+{ name => 'wal_init_zero', type => 'bool', context => 'PGC_SUSET', group => 'WAL_SETTINGS',
+  short_desc => 'Writes zeroes to new WAL files before first use.',
+  variable => 'wal_init_zero',
+  boot_val => 'true',
+},
+
+{ name => 'wal_recycle', type => 'bool', context => 'PGC_SUSET', group => 'WAL_SETTINGS',
+  short_desc => 'Recycles WAL files by renaming them.',
+  variable => 'wal_recycle',
+  boot_val => 'true',
+},
+
+{ name => 'log_checkpoints', type => 'bool', context => 'PGC_SIGHUP', group => 'LOGGING_WHAT',
+  short_desc => 'Logs each checkpoint.',
+  variable => 'log_checkpoints',
+  boot_val => 'true',
+},
+
+{ name => 'trace_connection_negotiation', type => 'bool', context => 'PGC_POSTMASTER', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Logs details of pre-authentication connection handshake.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_connection_negotiation',
+  boot_val => 'false',
+},
+
+{ name => 'log_disconnections', type => 'bool', context => 'PGC_SU_BACKEND', group => 'LOGGING_WHAT',
+  short_desc => 'Logs end of a session, including duration.',
+  variable => 'Log_disconnections',
+  boot_val => 'false',
+},
+
+{ name => 'log_replication_commands', type => 'bool', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs each replication command.',
+  variable => 'log_replication_commands',
+  boot_val => 'false',
+},
+
+{ name => 'debug_assertions', type => 'bool', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows whether the running server has assertion checks enabled.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'assert_enabled',
+  boot_val => 'DEFAULT_ASSERT_ENABLED',
+},
+
+{ name => 'exit_on_error', type => 'bool', context => 'PGC_USERSET', group => 'ERROR_HANDLING_OPTIONS',
+  short_desc => 'Terminate session on any error.',
+  variable => 'ExitOnAnyError',
+  boot_val => 'false',
+},
+
+{ name => 'restart_after_crash', type => 'bool', context => 'PGC_SIGHUP', group => 'ERROR_HANDLING_OPTIONS',
+  short_desc => 'Reinitialize server after backend crash.',
+  variable => 'restart_after_crash',
+  boot_val => 'true',
+},
+
+{ name => 'remove_temp_files_after_crash', type => 'bool', context => 'PGC_SIGHUP', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Remove temporary files after backend crash.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'remove_temp_files_after_crash',
+  boot_val => 'true',
+},
+
+{ name => 'send_abort_for_crash', type => 'bool', context => 'PGC_SIGHUP', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Send SIGABRT not SIGQUIT to child processes after backend crash.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'send_abort_for_crash',
+  boot_val => 'false',
+},
+
+{ name => 'send_abort_for_kill', type => 'bool', context => 'PGC_SIGHUP', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Send SIGABRT not SIGKILL to stuck child processes.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'send_abort_for_kill',
+  boot_val => 'false',
+},
+
+{ name => 'log_duration', type => 'bool', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs the duration of each completed SQL statement.',
+  variable => 'log_duration',
+  boot_val => 'false',
+},
+
+{ name => 'debug_copy_parse_plan_trees', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Set this to force all parse and plan trees to be passed through copyObject(), to facilitate catching errors and omissions in copyObject().',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Debug_copy_parse_plan_trees',
+  boot_val => 'DEFAULT_DEBUG_COPY_PARSE_PLAN_TREES',
+  ifdef => 'DEBUG_NODE_TESTS_ENABLED',
+},
+
+{ name => 'debug_write_read_parse_plan_trees', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Set this to force all parse and plan trees to be passed through outfuncs.c/readfuncs.c, to facilitate catching errors and omissions in those modules.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Debug_write_read_parse_plan_trees',
+  boot_val => 'DEFAULT_DEBUG_READ_WRITE_PARSE_PLAN_TREES',
+  ifdef => 'DEBUG_NODE_TESTS_ENABLED',
+},
+
+{ name => 'debug_raw_expression_coverage_test', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Set this to force all raw parse trees for DML statements to be scanned by raw_expression_tree_walker(), to facilitate catching errors and omissions in that function.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Debug_raw_expression_coverage_test',
+  boot_val => 'DEFAULT_DEBUG_RAW_EXPRESSION_COVERAGE_TEST',
+  ifdef => 'DEBUG_NODE_TESTS_ENABLED',
+},
+
+{ name => 'debug_print_parse', type => 'bool', context => 'PGC_USERSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs each query\'s parse tree.',
+  variable => 'Debug_print_parse',
+  boot_val => 'false',
+},
+
+{ name => 'debug_print_rewritten', type => 'bool', context => 'PGC_USERSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs each query\'s rewritten parse tree.',
+  variable => 'Debug_print_rewritten',
+  boot_val => 'false',
+},
+
+{ name => 'debug_print_plan', type => 'bool', context => 'PGC_USERSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs each query\'s execution plan.',
+  variable => 'Debug_print_plan',
+  boot_val => 'false',
+},
+
+{ name => 'debug_pretty_print', type => 'bool', context => 'PGC_USERSET', group => 'LOGGING_WHAT',
+  short_desc => 'Indents parse and plan tree displays.',
+  variable => 'Debug_pretty_print',
+  boot_val => 'true',
+},
+
+{ name => 'log_parser_stats', type => 'bool', context => 'PGC_SUSET', group => 'STATS_MONITORING',
+  short_desc => 'Writes parser performance statistics to the server log.',
+  variable => 'log_parser_stats',
+  boot_val => 'false',
+  check_hook => 'check_stage_log_stats',
+},
+
+{ name => 'log_planner_stats', type => 'bool', context => 'PGC_SUSET', group => 'STATS_MONITORING',
+  short_desc => 'Writes planner performance statistics to the server log.',
+  variable => 'log_planner_stats',
+  boot_val => 'false',
+  check_hook => 'check_stage_log_stats',
+},
+
+{ name => 'log_executor_stats', type => 'bool', context => 'PGC_SUSET', group => 'STATS_MONITORING',
+  short_desc => 'Writes executor performance statistics to the server log.',
+  variable => 'log_executor_stats',
+  boot_val => 'false',
+  check_hook => 'check_stage_log_stats',
+},
+
+{ name => 'log_statement_stats', type => 'bool', context => 'PGC_SUSET', group => 'STATS_MONITORING',
+  short_desc => 'Writes cumulative performance statistics to the server log.',
+  variable => 'log_statement_stats',
+  boot_val => 'false',
+  check_hook => 'check_log_stats',
+},
+
+{ name => 'log_btree_build_stats', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Logs system resource usage statistics (memory and CPU) on various B-tree operations.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'log_btree_build_stats',
+  boot_val => 'false',
+  ifdef => 'BTREE_BUILD_STATS',
+},
+
+{ name => 'track_activities', type => 'bool', context => 'PGC_SUSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Collects information about executing commands.',
+  long_desc => 'Enables the collection of information on the currently executing command of each session, along with the time at which that command began execution.',
+  variable => 'pgstat_track_activities',
+  boot_val => 'true',
+},
+
+{ name => 'track_counts', type => 'bool', context => 'PGC_SUSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Collects statistics on database activity.',
+  variable => 'pgstat_track_counts',
+  boot_val => 'true',
+},
+
+{ name => 'track_cost_delay_timing', type => 'bool', context => 'PGC_SUSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Collects timing statistics for cost-based vacuum delay.',
+  variable => 'track_cost_delay_timing',
+  boot_val => 'false',
+},
+
+{ name => 'track_io_timing', type => 'bool', context => 'PGC_SUSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Collects timing statistics for database I/O activity.',
+  variable => 'track_io_timing',
+  boot_val => 'false',
+},
+
+{ name => 'track_wal_io_timing', type => 'bool', context => 'PGC_SUSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Collects timing statistics for WAL I/O activity.',
+  variable => 'track_wal_io_timing',
+  boot_val => 'false',
+},
+
+{ name => 'update_process_title', type => 'bool', context => 'PGC_SUSET', group => 'PROCESS_TITLE',
+  short_desc => 'Updates the process title to show the active SQL command.',
+  long_desc => 'Enables updating of the process title every time a new SQL command is received by the server.',
+  variable => 'update_process_title',
+  boot_val => 'DEFAULT_UPDATE_PROCESS_TITLE',
+},
+
+{ name => 'autovacuum', type => 'bool', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Starts the autovacuum subprocess.',
+  variable => 'autovacuum_start_daemon',
+  boot_val => 'true',
+},
+
+{ name => 'trace_notify', type => 'bool', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Generates debugging output for LISTEN and NOTIFY.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_notify',
+  boot_val => 'false',
+},
+
+{ name => 'trace_locks', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Emits information about lock usage.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_locks',
+  boot_val => 'false',
+  ifdef => 'LOCK_DEBUG',
+},
+
+{ name => 'trace_userlocks', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Emits information about user lock usage.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_userlocks',
+  boot_val => 'false',
+  ifdef => 'LOCK_DEBUG',
+},
+
+{ name => 'trace_lwlocks', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Emits information about lightweight lock usage.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_lwlocks',
+  boot_val => 'false',
+  ifdef => 'LOCK_DEBUG',
+},
+
+{ name => 'debug_deadlocks', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Dumps information about all current locks when a deadlock timeout occurs.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Debug_deadlocks',
+  boot_val => 'false',
+  ifdef => 'LOCK_DEBUG',
+},
+
+{ name => 'log_lock_waits', type => 'bool', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs long lock waits.',
+  variable => 'log_lock_waits',
+  boot_val => 'false',
+},
+
+{ name => 'log_lock_failures', type => 'bool', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Logs lock failures.',
+  variable => 'log_lock_failures',
+  boot_val => 'false',
+},
+
+{ name => 'log_recovery_conflict_waits', type => 'bool', context => 'PGC_SIGHUP', group => 'LOGGING_WHAT',
+  short_desc => 'Logs standby recovery conflict waits.',
+  variable => 'log_recovery_conflict_waits',
+  boot_val => 'false',
+},
+
+{ name => 'log_hostname', type => 'bool', context => 'PGC_SIGHUP', group => 'LOGGING_WHAT',
+  short_desc => 'Logs the host name in the connection logs.',
+  long_desc => 'By default, connection logs only show the IP address of the connecting host. If you want them to show the host name you can turn this on, but depending on your host name resolution setup it might impose a non-negligible performance penalty.',
+  variable => 'log_hostname',
+  boot_val => 'false',
+},
+
+{ name => 'transform_null_equals', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_OTHER',
+  short_desc => 'Treats "expr=NULL" as "expr IS NULL".',
+  long_desc => 'When turned on, expressions of the form expr = NULL (or NULL = expr) are treated as expr IS NULL, that is, they return true if expr evaluates to the null value, and false otherwise. The correct behavior of expr = NULL is to always return null (unknown).',
+  variable => 'Transform_null_equals',
+  boot_val => 'false',
+},
+
+{ name => 'default_transaction_read_only', type => 'bool', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the default read-only status of new transactions.',
+  flags => 'GUC_REPORT',
+  variable => 'DefaultXactReadOnly',
+  boot_val => 'false',
+},
+
+{ name => 'transaction_read_only', type => 'bool', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the current transaction\'s read-only status.',
+  flags => 'GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'XactReadOnly',
+  boot_val => 'false',
+  check_hook => 'check_transaction_read_only',
+},
+
+{ name => 'default_transaction_deferrable', type => 'bool', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the default deferrable status of new transactions.',
+  variable => 'DefaultXactDeferrable',
+  boot_val => 'false',
+},
+
+{ name => 'transaction_deferrable', type => 'bool', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Whether to defer a read-only serializable transaction until it can be executed with no possible serialization failures.',
+  flags => 'GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'XactDeferrable',
+  boot_val => 'false',
+  check_hook => 'check_transaction_deferrable',
+},
+
+{ name => 'row_security', type => 'bool', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Enables row security.',
+  long_desc => 'When enabled, row security will be applied to all users.',
+  variable => 'row_security',
+  boot_val => 'true',
+},
+
+{ name => 'check_function_bodies', type => 'bool', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Check routine bodies during CREATE FUNCTION and CREATE PROCEDURE.',
+  variable => 'check_function_bodies',
+  boot_val => 'true',
+},
+
+{ name => 'array_nulls', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'Enables input of NULL elements in arrays.',
+  long_desc => 'When turned on, unquoted NULL in an array input value means a null value; otherwise it is taken literally.',
+  variable => 'Array_nulls',
+  boot_val => 'true',
+},
+
+# WITH OIDS support, and consequently default_with_oids, was removed
+# in PostgreSQL 12, but we tolerate the parameter being set to false
+# to avoid unnecessarily breaking older dump files.
+{ name => 'default_with_oids', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'WITH OIDS is no longer supported; this can only be false.',
+  flags => 'GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE',
+  variable => 'default_with_oids',
+  boot_val => 'false',
+  check_hook => 'check_default_with_oids',
+},
+
+{ name => 'logging_collector', type => 'bool', context => 'PGC_POSTMASTER', group => 'LOGGING_WHERE',
+  short_desc => 'Start a subprocess to capture stderr, csvlog and/or jsonlog into log files.',
+  variable => 'Logging_collector',
+  boot_val => 'false',
+},
+
+{ name => 'log_truncate_on_rotation', type => 'bool', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Truncate existing log files of same name during log rotation.',
+  variable => 'Log_truncate_on_rotation',
+  boot_val => 'false',
+},
+
+{ name => 'trace_sort', type => 'bool', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Emit information about resource usage in sorting.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'trace_sort',
+  boot_val => 'false',
+},
+
+# this is undocumented because not exposed in a standard build
+{ name => 'trace_syncscan', type => 'bool', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Generate debugging output for synchronized scanning.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'trace_syncscan',
+  boot_val => 'false',
+  ifdef => 'TRACE_SYNCSCAN',
+},
+
+# this is undocumented because not exposed in a standard build
+{ name => 'optimize_bounded_sort', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_METHOD',
+  short_desc => 'Enables bounded sorting using heap sort.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_EXPLAIN',
+  variable => 'optimize_bounded_sort',
+  boot_val => 'true',
+  ifdef => 'DEBUG_BOUNDED_SORT',
+},
+
+{ name => 'wal_debug', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Emit WAL-related debugging output.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'XLOG_DEBUG',
+  boot_val => 'false',
+  ifdef => 'WAL_DEBUG',
+},
+
+{ name => 'integer_datetimes', type => 'bool', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows whether datetimes are integer based.',
+  flags => 'GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'integer_datetimes',
+  boot_val => 'true',
+},
+
+{ name => 'krb_caseins_users', type => 'bool', context => 'PGC_SIGHUP', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Sets whether Kerberos and GSSAPI user names should be treated as case-insensitive.',
+  variable => 'pg_krb_caseins_users',
+  boot_val => 'false',
+},
+
+{ name => 'gss_accept_delegation', type => 'bool', context => 'PGC_SIGHUP', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Sets whether GSSAPI delegation should be accepted from the client.',
+  variable => 'pg_gss_accept_delegation',
+  boot_val => 'false',
+},
+
+{ name => 'escape_string_warning', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'Warn about backslash escapes in ordinary string literals.',
+  variable => 'escape_string_warning',
+  boot_val => 'true',
+},
+
+{ name => 'standard_conforming_strings', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'Causes \'...\' strings to treat backslashes literally.',
+  flags => 'GUC_REPORT',
+  variable => 'standard_conforming_strings',
+  boot_val => 'true',
+},
+
+{ name => 'synchronize_seqscans', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'Enables synchronized sequential scans.',
+  variable => 'synchronize_seqscans',
+  boot_val => 'true',
+},
+
+{ name => 'recovery_target_inclusive', type => 'bool', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Sets whether to include or exclude transaction with recovery target.',
+  variable => 'recoveryTargetInclusive',
+  boot_val => 'true',
+},
+
+{ name => 'summarize_wal', type => 'bool', context => 'PGC_SIGHUP', group => 'WAL_SUMMARIZATION',
+  short_desc => 'Starts the WAL summarizer process to enable incremental backup.',
+  variable => 'summarize_wal',
+  boot_val => 'false',
+},
+
+{ name => 'hot_standby', type => 'bool', context => 'PGC_POSTMASTER', group => 'REPLICATION_STANDBY',
+  short_desc => 'Allows connections and queries during recovery.',
+  variable => 'EnableHotStandby',
+  boot_val => 'true',
+},
+
+{ name => 'hot_standby_feedback', type => 'bool', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Allows feedback from a hot standby to the primary that will avoid query conflicts.',
+  variable => 'hot_standby_feedback',
+  boot_val => 'false',
+},
+
+{ name => 'in_hot_standby', type => 'bool', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows whether hot standby is currently active.',
+  flags => 'GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'in_hot_standby_guc',
+  boot_val => 'false',
+  show_hook => 'show_in_hot_standby',
+},
+
+{ name => 'allow_system_table_mods', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Allows modifications of the structure of system tables.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'allowSystemTableMods',
+  boot_val => 'false',
+},
+
+{ name => 'ignore_system_indexes', type => 'bool', context => 'PGC_BACKEND', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Disables reading from system indexes.',
+  long_desc => 'It does not prevent updating the indexes, so it is safe to use.  The worst consequence is slowness.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'IgnoreSystemIndexes',
+  boot_val => 'false',
+},
+
+{ name => 'allow_in_place_tablespaces', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Allows tablespaces directly inside pg_tblspc, for testing.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'allow_in_place_tablespaces',
+  boot_val => 'false',
+},
+
+{ name => 'lo_compat_privileges', type => 'bool', context => 'PGC_SUSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'Enables backward compatibility mode for privilege checks on large objects.',
+  long_desc => 'Skips privilege checks when reading or modifying large objects, for compatibility with PostgreSQL releases prior to 9.0.',
+  variable => 'lo_compat_privileges',
+  boot_val => 'false',
+},
+
+{ name => 'quote_all_identifiers', type => 'bool', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'When generating SQL fragments, quote all identifiers.',
+  variable => 'quote_all_identifiers',
+  boot_val => 'false',
+},
+
+{ name => 'data_checksums', type => 'bool', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows whether data checksums are turned on for this cluster.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED',
+  variable => 'data_checksums',
+  boot_val => 'false',
+},
+
+{ name => 'syslog_sequence_numbers', type => 'bool', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Add sequence number to syslog messages to avoid duplicate suppression.',
+  variable => 'syslog_sequence_numbers',
+  boot_val => 'true',
+},
+
+{ name => 'syslog_split_messages', type => 'bool', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Split messages sent to syslog by lines and to fit into 1024 bytes.',
+  variable => 'syslog_split_messages',
+  boot_val => 'true',
+},
+
+{ name => 'parallel_leader_participation', type => 'bool', context => 'PGC_USERSET', group => 'RESOURCES_WORKER_PROCESSES',
+  short_desc => 'Controls whether Gather and Gather Merge also run subplans.',
+  long_desc => 'Should gather nodes also run subplans or just gather tuples?',
+  flags => 'GUC_EXPLAIN',
+  variable => 'parallel_leader_participation',
+  boot_val => 'true',
+},
+
+{ name => 'jit', type => 'bool', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Allow JIT compilation.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'jit_enabled',
+  boot_val => 'true',
+},
+
+# This is not guaranteed to be available, but given it's a developer
+# oriented option, it doesn't seem worth adding code checking
+# availability.
+{ name => 'jit_debugging_support', type => 'bool', context => 'PGC_SU_BACKEND', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Register JIT-compiled functions with debugger.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'jit_debugging_support',
+  boot_val => 'false',
+},
+
+{ name => 'jit_dump_bitcode', type => 'bool', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Write out LLVM bitcode to facilitate JIT debugging.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'jit_dump_bitcode',
+  boot_val => 'false',
+},
+
+{ name => 'jit_expressions', type => 'bool', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Allow JIT compilation of expressions.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'jit_expressions',
+  boot_val => 'true',
+},
+
+# This is not guaranteed to be available, but given it's a developer
+# oriented option, it doesn't seem worth adding code checking
+# availability.
+{ name => 'jit_profiling_support', type => 'bool', context => 'PGC_SU_BACKEND', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Register JIT-compiled functions with perf profiler.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'jit_profiling_support',
+  boot_val => 'false',
+},
+
+{ name => 'jit_tuple_deforming', type => 'bool', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Allow JIT compilation of tuple deforming.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'jit_tuple_deforming',
+  boot_val => 'true',
+},
+
+{ name => 'data_sync_retry', type => 'bool', context => 'PGC_POSTMASTER', group => 'ERROR_HANDLING_OPTIONS',
+  short_desc => 'Whether to continue running after a failure to sync data files.',
+  variable => 'data_sync_retry',
+  boot_val => 'false',
+},
+
+{ name => 'wal_receiver_create_temp_slot', type => 'bool', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets whether a WAL receiver should create a temporary replication slot if no permanent slot is configured.',
+  variable => 'wal_receiver_create_temp_slot',
+  boot_val => 'false',
+},
+
+{ name => 'event_triggers', type => 'bool', context => 'PGC_SUSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Enables event triggers.',
+  long_desc => 'When enabled, event triggers will fire for all applicable statements.',
+  variable => 'event_triggers',
+  boot_val => 'true',
+},
+
+{ name => 'sync_replication_slots', type => 'bool', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Enables a physical standby to synchronize logical failover replication slots from the primary server.',
+  variable => 'sync_replication_slots',
+  boot_val => 'false',
+},
+
+{ name => 'md5_password_warnings', type => 'bool', context => 'PGC_USERSET', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Enables deprecation warnings for MD5 passwords.',
+  variable => 'md5_password_warnings',
+  boot_val => 'true',
+},
+
+{ name => 'vacuum_truncate', type => 'bool', context => 'PGC_USERSET', group => 'VACUUM_DEFAULT',
+  short_desc => 'Enables vacuum to truncate empty pages at the end of the table.',
+  variable => 'vacuum_truncate',
+  boot_val => 'true',
+},
+
+{ name => 'archive_timeout', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_ARCHIVING',
+  short_desc => 'Sets the amount of time to wait before forcing a switch to the next WAL file.',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_S',
+  variable => 'XLogArchiveTimeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX / 2',
+},
+
+{ name => 'post_auth_delay', type => 'int', context => 'PGC_BACKEND', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Sets the amount of time to wait after authentication on connection startup.',
+  long_desc => 'This allows attaching a debugger to the process.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_UNIT_S',
+  variable => 'PostAuthDelay',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX / 1000000',
+},
+
+{ name => 'default_statistics_target', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Sets the default statistics target.',
+  long_desc => 'This applies to table columns that have not had a column-specific target set via ALTER TABLE SET STATISTICS.',
+  variable => 'default_statistics_target',
+  boot_val => '100',
+  min => '1',
+  max => 'MAX_STATISTICS_TARGET',
+},
+
+{ name => 'from_collapse_limit', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Sets the FROM-list size beyond which subqueries are not collapsed.',
+  long_desc => 'The planner will merge subqueries into upper queries if the resulting FROM list would have no more than this many items.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'from_collapse_limit',
+  boot_val => '8',
+  min => '1',
+  max => 'INT_MAX',
+},
+
+{ name => 'join_collapse_limit', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Sets the FROM-list size beyond which JOIN constructs are not flattened.',
+  long_desc => 'The planner will flatten explicit JOIN constructs into lists of FROM items whenever a list of no more than this many items would result.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'join_collapse_limit',
+  boot_val => '8',
+  min => '1',
+  max => 'INT_MAX',
+},
+
+{ name => 'geqo_threshold', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'Sets the threshold of FROM items beyond which GEQO is used.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'geqo_threshold',
+  boot_val => '12',
+  min => '2',
+  max => 'INT_MAX',
+},
+
+{ name => 'geqo_effort', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'GEQO: effort is used to set the default for other GEQO parameters.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'Geqo_effort',
+  boot_val => 'DEFAULT_GEQO_EFFORT',
+  min => 'MIN_GEQO_EFFORT',
+  max => 'MAX_GEQO_EFFORT',
+},
+
+{ name => 'geqo_pool_size', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'GEQO: number of individuals in the population.',
+  long_desc => '0 means use a suitable default value.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'Geqo_pool_size',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'geqo_generations', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'GEQO: number of iterations of the algorithm.',
+  long_desc => '0 means use a suitable default value.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'Geqo_generations',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+# This is PGC_SUSET to prevent hiding from log_lock_waits.
+{ name => 'deadlock_timeout', type => 'int', context => 'PGC_SUSET', group => 'LOCK_MANAGEMENT',
+  short_desc => 'Sets the time to wait on a lock before checking for deadlock.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'DeadlockTimeout',
+  boot_val => '1000',
+  min => '1',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_standby_archive_delay', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data.',
+  long_desc => '-1 means wait forever.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'max_standby_archive_delay',
+  boot_val => '30 * 1000',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_standby_streaming_delay', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data.',
+  long_desc => '-1 means wait forever.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'max_standby_streaming_delay',
+  boot_val => '30 * 1000',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'recovery_min_apply_delay', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the minimum delay for applying changes during recovery.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'recovery_min_apply_delay',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'wal_receiver_status_interval', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the maximum interval between WAL receiver status reports to the sending server.',
+  flags => 'GUC_UNIT_S',
+  variable => 'wal_receiver_status_interval',
+  boot_val => '10',
+  min => '0',
+  max => 'INT_MAX / 1000',
+},
+
+{ name => 'wal_receiver_timeout', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the maximum wait time to receive data from the sending server.',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'wal_receiver_timeout',
+  boot_val => '60 * 1000',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_connections', type => 'int', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the maximum number of concurrent connections.',
+  variable => 'MaxConnections',
+  boot_val => '100',
+  min => '1',
+  max => 'MAX_BACKENDS',
+},
+
+# see max_connections
+{ name => 'superuser_reserved_connections', type => 'int', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the number of connection slots reserved for superusers.',
+  variable => 'SuperuserReservedConnections',
+  boot_val => '3',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'reserved_connections', type => 'int', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the number of connection slots reserved for roles with privileges of pg_use_reserved_connections.',
+  variable => 'ReservedConnections',
+  boot_val => '0',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'min_dynamic_shared_memory', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Amount of dynamic shared memory reserved at startup.',
+  flags => 'GUC_UNIT_MB',
+  variable => 'min_dynamic_shared_memory',
+  boot_val => '0',
+  min => '0',
+  max => '(int) Min((size_t) INT_MAX, SIZE_MAX / (1024 * 1024))',
+},
+
+# We sometimes multiply the number of shared buffers by two without
+# checking for overflow, so we mustn't allow more than INT_MAX / 2.
+{ name => 'shared_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the number of shared memory buffers used by the server.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'NBuffers',
+  boot_val => '16384',
+  min => '16',
+  max => 'INT_MAX / 2',
+},
+
+{ name => 'vacuum_buffer_usage_limit', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the buffer pool size for VACUUM, ANALYZE, and autovacuum.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'VacuumBufferUsageLimit',
+  boot_val => '2048',
+  min => '0',
+  max => 'MAX_BAS_VAC_RING_SIZE_KB',
+  check_hook => 'check_vacuum_buffer_usage_limit',
+},
+
+{ name => 'shared_memory_size', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the size of the server\'s main shared memory area (rounded up to the nearest MB).',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_UNIT_MB | GUC_RUNTIME_COMPUTED',
+  variable => 'shared_memory_size_mb',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'shared_memory_size_in_huge_pages', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the number of huge pages needed for the main shared memory area.',
+  long_desc => '-1 means huge pages are not supported.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED',
+  variable => 'shared_memory_size_in_huge_pages',
+  boot_val => '-1',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'num_os_semaphores', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the number of semaphores required for the server.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED',
+  variable => 'num_os_semaphores',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'commit_timestamp_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the commit timestamp cache.',
+  long_desc => '0 means use a fraction of "shared_buffers".',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'commit_timestamp_buffers',
+  boot_val => '0',
+  min => '0',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_commit_ts_buffers',
+},
+
+{ name => 'multixact_member_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the MultiXact member cache.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'multixact_member_buffers',
+  boot_val => '32',
+  min => '16',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_multixact_member_buffers',
+},
+
+{ name => 'multixact_offset_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the MultiXact offset cache.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'multixact_offset_buffers',
+  boot_val => '16',
+  min => '16',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_multixact_offset_buffers',
+},
+
+{ name => 'notify_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the LISTEN/NOTIFY message cache.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'notify_buffers',
+  boot_val => '16',
+  min => '16',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_notify_buffers',
+},
+
+{ name => 'serializable_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the serializable transaction cache.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'serializable_buffers',
+  boot_val => '32',
+  min => '16',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_serial_buffers',
+},
+
+{ name => 'subtransaction_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the subtransaction cache.',
+  long_desc => '0 means use a fraction of "shared_buffers".',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'subtransaction_buffers',
+  boot_val => '0',
+  min => '0',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_subtrans_buffers',
+},
+
+{ name => 'transaction_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the size of the dedicated buffer pool used for the transaction status cache.',
+  long_desc => '0 means use a fraction of "shared_buffers".',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'transaction_buffers',
+  boot_val => '0',
+  min => '0',
+  max => 'SLRU_MAX_ALLOWED_BUFFERS',
+  check_hook => 'check_transaction_buffers',
+},
+
+{ name => 'temp_buffers', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum number of temporary buffers used by each session.',
+  flags => 'GUC_UNIT_BLOCKS | GUC_EXPLAIN',
+  variable => 'num_temp_buffers',
+  boot_val => '1024',
+  min => '100',
+  max => 'INT_MAX / 2',
+  check_hook => 'check_temp_buffers',
+},
+
+{ name => 'port', type => 'int', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the TCP port the server listens on.',
+  variable => 'PostPortNumber',
+  boot_val => 'DEF_PGPORT',
+  min => '1',
+  max => '65535',
+},
+
+{ name => 'unix_socket_permissions', type => 'int', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the access permissions of the Unix-domain socket.',
+  long_desc => 'Unix-domain sockets use the usual Unix file system permission set. The parameter value is expected to be a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)',
+  variable => 'Unix_socket_permissions',
+  boot_val => '0777',
+  min => '0000',
+  max => '0777',
+  show_hook => 'show_unix_socket_permissions',
+},
+
+{ name => 'log_file_mode', type => 'int', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the file permissions for log files.',
+  long_desc => 'The parameter value is expected to be a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)',
+  variable => 'Log_file_mode',
+  boot_val => '0600',
+  min => '0000',
+  max => '0777',
+  show_hook => 'show_log_file_mode',
+},
+
+{ name => 'data_directory_mode', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the mode of the data directory.',
+  long_desc => 'The parameter value is a numeric mode specification in the form accepted by the chmod and umask system calls. (To use the customary octal format the number must start with a 0 (zero).)',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED',
+  variable => 'data_directory_mode',
+  boot_val => '0700',
+  min => '0000',
+  max => '0777',
+  show_hook => 'show_data_directory_mode',
+},
+
+{ name => 'work_mem', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum memory to be used for query workspaces.',
+  long_desc => 'This much memory can be used by each internal sort operation and hash table before switching to temporary disk files.',
+  flags => 'GUC_UNIT_KB | GUC_EXPLAIN',
+  variable => 'work_mem',
+  boot_val => '4096',
+  min => '64',
+  max => 'MAX_KILOBYTES',
+},
+
+# Dynamic shared memory has a higher overhead than local memory
+# contexts, so when testing low-memory scenarios that could use shared
+# memory, the recommended minimum is 1MB.
+{ name => 'maintenance_work_mem', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum memory to be used for maintenance operations.',
+  long_desc => 'This includes operations such as VACUUM and CREATE INDEX.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'maintenance_work_mem',
+  boot_val => '65536',
+  min => '64',
+  max => 'MAX_KILOBYTES',
+},
+
+{ name => 'logical_decoding_work_mem', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum memory to be used for logical decoding.',
+  long_desc => 'This much memory can be used by each internal reorder buffer before spilling to disk.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'logical_decoding_work_mem',
+  boot_val => '65536',
+  min => '64',
+  max => 'MAX_KILOBYTES',
+},
+
+# We use the hopefully-safely-small value of 100kB as the compiled-in
+# default for max_stack_depth.  InitializeGUCOptions will increase it
+# if possible, depending on the actual platform-specific stack limit.
+{ name => 'max_stack_depth', type => 'int', context => 'PGC_SUSET', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum stack depth, in kilobytes.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'max_stack_depth',
+  boot_val => '100',
+  min => '100',
+  max => 'MAX_KILOBYTES',
+  check_hook => 'check_max_stack_depth',
+  assign_hook => 'assign_max_stack_depth',
+},
+
+{ name => 'temp_file_limit', type => 'int', context => 'PGC_SUSET', group => 'RESOURCES_DISK',
+  short_desc => 'Limits the total size of all temporary files used by each process.',
+  long_desc => '-1 means no limit.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'temp_file_limit',
+  boot_val => '-1',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'vacuum_cost_page_hit', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_COST_DELAY',
+  short_desc => 'Vacuum cost for a page found in the buffer cache.',
+  variable => 'VacuumCostPageHit',
+  boot_val => '1',
+  min => '0',
+  max => '10000',
+},
+
+{ name => 'vacuum_cost_page_miss', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_COST_DELAY',
+  short_desc => 'Vacuum cost for a page not found in the buffer cache.',
+  variable => 'VacuumCostPageMiss',
+  boot_val => '2',
+  min => '0',
+  max => '10000',
+},
+
+{ name => 'vacuum_cost_page_dirty', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_COST_DELAY',
+  short_desc => 'Vacuum cost for a page dirtied by vacuum.',
+  variable => 'VacuumCostPageDirty',
+  boot_val => '20',
+  min => '0',
+  max => '10000',
+},
+
+{ name => 'vacuum_cost_limit', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_COST_DELAY',
+  short_desc => 'Vacuum cost amount available before napping.',
+  variable => 'VacuumCostLimit',
+  boot_val => '200',
+  min => '1',
+  max => '10000',
+},
+
+{ name => 'autovacuum_vacuum_cost_limit', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Vacuum cost amount available before napping, for autovacuum.',
+  long_desc => '-1 means use "vacuum_cost_limit".',
+  variable => 'autovacuum_vac_cost_limit',
+  boot_val => '-1',
+  min => '-1',
+  max => '10000',
+},
+
+{ name => 'max_files_per_process', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_KERNEL',
+  short_desc => 'Sets the maximum number of files each server process is allowed to open simultaneously.',
+  variable => 'max_files_per_process',
+  boot_val => '1000',
+  min => '64',
+  max => 'INT_MAX',
+},
+
+# See also CheckRequiredParameterValues() if this parameter changes
+{ name => 'max_prepared_transactions', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum number of simultaneously prepared transactions.',
+  variable => 'max_prepared_xacts',
+  boot_val => '0',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'trace_lock_oidmin', type => 'int', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Sets the minimum OID of tables for tracking locks.',
+  long_desc => 'Is used to avoid output on system tables.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_lock_oidmin',
+  boot_val => 'FirstNormalObjectId',
+  min => '0',
+  max => 'INT_MAX',
+  ifdef => 'LOCK_DEBUG',
+},
+
+{ name => 'trace_lock_table', type => 'int', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Sets the OID of the table with unconditionally lock tracing.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'Trace_lock_table',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  ifdef => 'LOCK_DEBUG',
+},
+
+{ name => 'statement_timeout', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the maximum allowed duration of any statement.',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'StatementTimeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'lock_timeout', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the maximum allowed duration of any wait for a lock.',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'LockTimeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'idle_in_transaction_session_timeout', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the maximum allowed idle time between queries, when in a transaction.',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'IdleInTransactionSessionTimeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'transaction_timeout', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the maximum allowed duration of any transaction within a session (not a prepared transaction).',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'TransactionTimeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  assign_hook => 'assign_transaction_timeout',
+},
+
+{ name => 'idle_session_timeout', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the maximum allowed idle time between queries, when not in a transaction.',
+  long_desc => '0 disables the timeout.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'IdleSessionTimeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'vacuum_freeze_min_age', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Minimum age at which VACUUM should freeze a table row.',
+  variable => 'vacuum_freeze_min_age',
+  boot_val => '50000000',
+  min => '0',
+  max => '1000000000',
+},
+
+{ name => 'vacuum_freeze_table_age', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Age at which VACUUM should scan whole table to freeze tuples.',
+  variable => 'vacuum_freeze_table_age',
+  boot_val => '150000000',
+  min => '0',
+  max => '2000000000',
+},
+
+{ name => 'vacuum_multixact_freeze_min_age', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Minimum age at which VACUUM should freeze a MultiXactId in a table row.',
+  variable => 'vacuum_multixact_freeze_min_age',
+  boot_val => '5000000',
+  min => '0',
+  max => '1000000000',
+},
+
+{ name => 'vacuum_multixact_freeze_table_age', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Multixact age at which VACUUM should scan whole table to freeze tuples.',
+  variable => 'vacuum_multixact_freeze_table_age',
+  boot_val => '150000000',
+  min => '0',
+  max => '2000000000',
+},
+
+{ name => 'vacuum_failsafe_age', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Age at which VACUUM should trigger failsafe to avoid a wraparound outage.',
+  variable => 'vacuum_failsafe_age',
+  boot_val => '1600000000',
+  min => '0',
+  max => '2100000000',
+},
+
+{ name => 'vacuum_multixact_failsafe_age', type => 'int', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Multixact age at which VACUUM should trigger failsafe to avoid a wraparound outage.',
+  variable => 'vacuum_multixact_failsafe_age',
+  boot_val => '1600000000',
+  min => '0',
+  max => '2100000000',
+},
+
+# See also CheckRequiredParameterValues() if this parameter changes
+{ name => 'max_locks_per_transaction', type => 'int', context => 'PGC_POSTMASTER', group => 'LOCK_MANAGEMENT',
+  short_desc => 'Sets the maximum number of locks per transaction.',
+  long_desc => 'The shared lock table is sized on the assumption that at most "max_locks_per_transaction" objects per server process or prepared transaction will need to be locked at any one time.',
+  variable => 'max_locks_per_xact',
+  boot_val => '64',
+  min => '10',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_pred_locks_per_transaction', type => 'int', context => 'PGC_POSTMASTER', group => 'LOCK_MANAGEMENT',
+  short_desc => 'Sets the maximum number of predicate locks per transaction.',
+  long_desc => 'The shared predicate lock table is sized on the assumption that at most "max_pred_locks_per_transaction" objects per server process or prepared transaction will need to be locked at any one time.',
+  variable => 'max_predicate_locks_per_xact',
+  boot_val => '64',
+  min => '10',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_pred_locks_per_relation', type => 'int', context => 'PGC_SIGHUP', group => 'LOCK_MANAGEMENT',
+  short_desc => 'Sets the maximum number of predicate-locked pages and tuples per relation.',
+  long_desc => 'If more than this total of pages and tuples in the same relation are locked by a connection, those locks are replaced by a relation-level lock.',
+  variable => 'max_predicate_locks_per_relation',
+  boot_val => '-2',
+  min => 'INT_MIN',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_pred_locks_per_page', type => 'int', context => 'PGC_SIGHUP', group => 'LOCK_MANAGEMENT',
+  short_desc => 'Sets the maximum number of predicate-locked tuples per page.',
+  long_desc => 'If more than this number of tuples on the same page are locked by a connection, those locks are replaced by a page-level lock.',
+  variable => 'max_predicate_locks_per_page',
+  boot_val => '2',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'authentication_timeout', type => 'int', context => 'PGC_SIGHUP', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Sets the maximum allowed time to complete client authentication.',
+  flags => 'GUC_UNIT_S',
+  variable => 'AuthenticationTimeout',
+  boot_val => '60',
+  min => '1',
+  max => '600',
+},
+
+# Not for general use
+{ name => 'pre_auth_delay', type => 'int', context => 'PGC_SIGHUP', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Sets the amount of time to wait before authentication on connection startup.',
+  long_desc => 'This allows attaching a debugger to the process.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_UNIT_S',
+  variable => 'PreAuthDelay',
+  boot_val => '0',
+  min => '0',
+  max => '60',
+},
+
+{ name => 'max_notify_queue_pages', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_DISK',
+  short_desc => 'Sets the maximum number of allocated pages for NOTIFY / LISTEN queue.',
+  variable => 'max_notify_queue_pages',
+  boot_val => '1048576',
+  min => '64',
+  max => 'INT_MAX',
+},
+
+{ name => 'wal_decode_buffer_size', type => 'int', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY',
+  short_desc => 'Buffer size for reading ahead in the WAL during recovery.',
+  long_desc => 'Maximum distance to read ahead in the WAL to prefetch referenced data blocks.',
+  flags => 'GUC_UNIT_BYTE',
+  variable => 'wal_decode_buffer_size',
+  boot_val => '512 * 1024',
+  min => '64 * 1024',
+  max => 'MaxAllocSize',
+},
+
+{ name => 'wal_keep_size', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_SENDING',
+  short_desc => 'Sets the size of WAL files held for standby servers.',
+  flags => 'GUC_UNIT_MB',
+  variable => 'wal_keep_size_mb',
+  boot_val => '0',
+  min => '0',
+  max => 'MAX_KILOBYTES',
+},
+
+{ name => 'min_wal_size', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_CHECKPOINTS',
+  short_desc => 'Sets the minimum size to shrink the WAL to.',
+  flags => 'GUC_UNIT_MB',
+  variable => 'min_wal_size_mb',
+  boot_val => 'DEFAULT_MIN_WAL_SEGS * (DEFAULT_XLOG_SEG_SIZE / (1024 * 1024))',
+  min => '2',
+  max => 'MAX_KILOBYTES',
+},
+
+{ name => 'max_wal_size', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_CHECKPOINTS',
+  short_desc => 'Sets the WAL size that triggers a checkpoint.',
+  flags => 'GUC_UNIT_MB',
+  variable => 'max_wal_size_mb',
+  boot_val => 'DEFAULT_MAX_WAL_SEGS * (DEFAULT_XLOG_SEG_SIZE / (1024 * 1024))',
+  min => '2',
+  max => 'MAX_KILOBYTES',
+  assign_hook => 'assign_max_wal_size',
+},
+
+{ name => 'checkpoint_timeout', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_CHECKPOINTS',
+  short_desc => 'Sets the maximum time between automatic WAL checkpoints.',
+  flags => 'GUC_UNIT_S',
+  variable => 'CheckPointTimeout',
+  boot_val => '300',
+  min => '30',
+  max => '86400',
+},
+
+{ name => 'checkpoint_warning', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_CHECKPOINTS',
+  short_desc => 'Sets the maximum time before warning if checkpoints triggered by WAL volume happen too frequently.',
+  long_desc => 'Write a message to the server log if checkpoints caused by the filling of WAL segment files happen more frequently than this amount of time. 0 disables the warning.',
+  flags => 'GUC_UNIT_S',
+  variable => 'CheckPointWarning',
+  boot_val => '30',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'checkpoint_flush_after', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_CHECKPOINTS',
+  short_desc => 'Number of pages after which previously performed writes are flushed to disk.',
+  long_desc => '0 disables forced writeback.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'checkpoint_flush_after',
+  boot_val => 'DEFAULT_CHECKPOINT_FLUSH_AFTER',
+  min => '0',
+  max => 'WRITEBACK_MAX_PENDING_FLUSHES',
+},
+
+{ name => 'wal_buffers', type => 'int', context => 'PGC_POSTMASTER', group => 'WAL_SETTINGS',
+  short_desc => 'Sets the number of disk-page buffers in shared memory for WAL.',
+  long_desc => '-1 means use a fraction of "shared_buffers".',
+  flags => 'GUC_UNIT_XBLOCKS',
+  variable => 'XLOGbuffers',
+  boot_val => '-1',
+  min => '-1',
+  max => '(INT_MAX / XLOG_BLCKSZ)',
+  check_hook => 'check_wal_buffers',
+},
+
+{ name => 'wal_writer_delay', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_SETTINGS',
+  short_desc => 'Time between WAL flushes performed in the WAL writer.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'WalWriterDelay',
+  boot_val => '200',
+  min => '1',
+  max => '10000',
+},
+
+{ name => 'wal_writer_flush_after', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_SETTINGS',
+  short_desc => 'Amount of WAL written out by WAL writer that triggers a flush.',
+  flags => 'GUC_UNIT_XBLOCKS',
+  variable => 'WalWriterFlushAfter',
+  boot_val => 'DEFAULT_WAL_WRITER_FLUSH_AFTER',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'wal_skip_threshold', type => 'int', context => 'PGC_USERSET', group => 'WAL_SETTINGS',
+  short_desc => 'Minimum size of new file to fsync instead of writing WAL.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'wal_skip_threshold',
+  boot_val => '2048',
+  min => '0',
+  max => 'MAX_KILOBYTES',
+},
+
+{ name => 'max_wal_senders', type => 'int', context => 'PGC_POSTMASTER', group => 'REPLICATION_SENDING',
+  short_desc => 'Sets the maximum number of simultaneously running WAL sender processes.',
+  variable => 'max_wal_senders',
+  boot_val => '10',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+/* see max_wal_senders */
+{ name => 'max_replication_slots', type => 'int', context => 'PGC_POSTMASTER', group => 'REPLICATION_SENDING',
+  short_desc => 'Sets the maximum number of simultaneously defined replication slots.',
+  variable => 'max_replication_slots',
+  boot_val => '10',
+  min => '0',
+  max => 'MAX_BACKENDS /* XXX? */',
+},
+
+{ name => 'max_slot_wal_keep_size', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_SENDING',
+  short_desc => 'Sets the maximum WAL size that can be reserved by replication slots.',
+  long_desc => 'Replication slots will be marked as failed, and segments released for deletion or recycling, if this much space is occupied by WAL on disk. -1 means no maximum.',
+  flags => 'GUC_UNIT_MB',
+  variable => 'max_slot_wal_keep_size_mb',
+  boot_val => '-1',
+  min => '-1',
+  max => 'MAX_KILOBYTES',
+},
+
+{ name => 'wal_sender_timeout', type => 'int', context => 'PGC_USERSET', group => 'REPLICATION_SENDING',
+  short_desc => 'Sets the maximum time to wait for WAL replication.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'wal_sender_timeout',
+  boot_val => '60 * 1000',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'idle_replication_slot_timeout', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_SENDING',
+  short_desc => 'Sets the duration a replication slot can remain idle before it is invalidated.',
+  flags => 'GUC_UNIT_S',
+  variable => 'idle_replication_slot_timeout_secs',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+# we have no microseconds designation, so can't supply units here
+{ name => 'commit_delay', type => 'int', context => 'PGC_SUSET', group => 'WAL_SETTINGS',
+  short_desc => 'Sets the delay in microseconds between transaction commit and flushing WAL to disk.',
+  variable => 'CommitDelay',
+  boot_val => '0',
+  min => '0',
+  max => '100000',
+},
+
+{ name => 'commit_siblings', type => 'int', context => 'PGC_USERSET', group => 'WAL_SETTINGS',
+  short_desc => 'Sets the minimum number of concurrent open transactions required before performing "commit_delay".',
+  variable => 'CommitSiblings',
+  boot_val => '5',
+  min => '0',
+  max => '1000',
+},
+
+{ name => 'extra_float_digits', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the number of digits displayed for floating-point values.',
+  long_desc => 'This affects real, double precision, and geometric data types. A zero or negative parameter value is added to the standard number of digits (FLT_DIG or DBL_DIG as appropriate). Any value greater than zero selects precise output mode.',
+  variable => 'extra_float_digits',
+  boot_val => '1',
+  min => '-15',
+  max => '3',
+},
+
+{ name => 'log_min_duration_sample', type => 'int', context => 'PGC_SUSET', group => 'LOGGING_WHEN',
+  short_desc => 'Sets the minimum execution time above which a sample of statements will be logged. Sampling is determined by "log_statement_sample_rate".',
+  long_desc => '-1 disables sampling. 0 means sample all statements.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'log_min_duration_sample',
+  boot_val => '-1',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'log_min_duration_statement', type => 'int', context => 'PGC_SUSET', group => 'LOGGING_WHEN',
+  short_desc => 'Sets the minimum execution time above which all statements will be logged.',
+  long_desc => '-1 disables logging statement durations. 0 means log all statement durations.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'log_min_duration_statement',
+  boot_val => '-1',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'log_autovacuum_min_duration', type => 'int', context => 'PGC_SIGHUP', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the minimum execution time above which autovacuum actions will be logged.',
+  long_desc => '-1 disables logging autovacuum actions. 0 means log all autovacuum actions.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'Log_autovacuum_min_duration',
+  boot_val => '600000',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'log_parameter_max_length', type => 'int', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the maximum length in bytes of data logged for bind parameter values when logging statements.',
+  long_desc => '-1 means log values in full.',
+  flags => 'GUC_UNIT_BYTE',
+  variable => 'log_parameter_max_length',
+  boot_val => '-1',
+  min => '-1',
+  max => 'INT_MAX / 2',
+},
+
+{ name => 'log_parameter_max_length_on_error', type => 'int', context => 'PGC_USERSET', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the maximum length in bytes of data logged for bind parameter values when logging statements, on error.',
+  long_desc => '-1 means log values in full.',
+  flags => 'GUC_UNIT_BYTE',
+  variable => 'log_parameter_max_length_on_error',
+  boot_val => '0',
+  min => '-1',
+  max => 'INT_MAX / 2',
+},
+
+{ name => 'bgwriter_delay', type => 'int', context => 'PGC_SIGHUP', group => 'RESOURCES_BGWRITER',
+  short_desc => 'Background writer sleep time between rounds.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'BgWriterDelay',
+  boot_val => '200',
+  min => '10',
+  max => '10000',
+},
+
+# Same upper limit as shared_buffers
+{ name => 'bgwriter_lru_maxpages', type => 'int', context => 'PGC_SIGHUP', group => 'RESOURCES_BGWRITER',
+  short_desc => 'Background writer maximum number of LRU pages to flush per round.',
+  long_desc => '0 disables background writing.',
+  variable => 'bgwriter_lru_maxpages',
+  boot_val => '100',
+  min => '0',
+  max => 'INT_MAX / 2',
+},
+
+{ name => 'bgwriter_flush_after', type => 'int', context => 'PGC_SIGHUP', group => 'RESOURCES_BGWRITER',
+  short_desc => 'Number of pages after which previously performed writes are flushed to disk.',
+  long_desc => '0 disables forced writeback.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'bgwriter_flush_after',
+  boot_val => 'DEFAULT_BGWRITER_FLUSH_AFTER',
+  min => '0',
+  max => 'WRITEBACK_MAX_PENDING_FLUSHES',
+},
+
+{ name => 'effective_io_concurrency', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_IO',
+  short_desc => 'Number of simultaneous requests that can be handled efficiently by the disk subsystem.',
+  long_desc => '0 disables simultaneous requests.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'effective_io_concurrency',
+  boot_val => 'DEFAULT_EFFECTIVE_IO_CONCURRENCY',
+  min => '0',
+  max => 'MAX_IO_CONCURRENCY',
+},
+
+{ name => 'maintenance_io_concurrency', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_IO',
+  short_desc => 'A variant of "effective_io_concurrency" that is used for maintenance work.',
+  long_desc => '0 disables simultaneous requests.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'maintenance_io_concurrency',
+  boot_val => 'DEFAULT_MAINTENANCE_IO_CONCURRENCY',
+  min => '0',
+  max => 'MAX_IO_CONCURRENCY',
+  assign_hook => 'assign_maintenance_io_concurrency',
+},
+
+{ name => 'io_max_combine_limit', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_IO',
+  short_desc => 'Server-wide limit that clamps io_combine_limit.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'io_max_combine_limit',
+  boot_val => 'DEFAULT_IO_COMBINE_LIMIT',
+  min => '1',
+  max => 'MAX_IO_COMBINE_LIMIT',
+  assign_hook => 'assign_io_max_combine_limit',
+},
+
+{ name => 'io_combine_limit', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_IO',
+  short_desc => 'Limit on the size of data reads and writes.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'io_combine_limit_guc',
+  boot_val => 'DEFAULT_IO_COMBINE_LIMIT',
+  min => '1',
+  max => 'MAX_IO_COMBINE_LIMIT',
+  assign_hook => 'assign_io_combine_limit',
+},
+
+{ name => 'io_max_concurrency', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_IO',
+  short_desc => 'Max number of IOs that one process can execute simultaneously.',
+  variable => 'io_max_concurrency',
+  boot_val => '-1',
+  min => '-1',
+  max => '1024',
+  check_hook => 'check_io_max_concurrency',
+},
+
+{ name => 'io_workers', type => 'int', context => 'PGC_SIGHUP', group => 'RESOURCES_IO',
+  short_desc => 'Number of IO worker processes, for io_method=worker.',
+  variable => 'io_workers',
+  boot_val => '3',
+  min => '1',
+  max => 'MAX_IO_WORKERS',
+},
+
+{ name => 'backend_flush_after', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_IO',
+  short_desc => 'Number of pages after which previously performed writes are flushed to disk.',
+  long_desc => '0 disables forced writeback.',
+  flags => 'GUC_UNIT_BLOCKS',
+  variable => 'backend_flush_after',
+  boot_val => 'DEFAULT_BACKEND_FLUSH_AFTER',
+  min => '0',
+  max => 'WRITEBACK_MAX_PENDING_FLUSHES',
+},
+
+{ name => 'max_worker_processes', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_WORKER_PROCESSES',
+  short_desc => 'Maximum number of concurrent worker processes.',
+  variable => 'max_worker_processes',
+  boot_val => '8',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'max_logical_replication_workers', type => 'int', context => 'PGC_POSTMASTER', group => 'REPLICATION_SUBSCRIBERS',
+  short_desc => 'Maximum number of logical replication worker processes.',
+  variable => 'max_logical_replication_workers',
+  boot_val => '4',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'max_sync_workers_per_subscription', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_SUBSCRIBERS',
+  short_desc => 'Maximum number of table synchronization workers per subscription.',
+  variable => 'max_sync_workers_per_subscription',
+  boot_val => '2',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'max_parallel_apply_workers_per_subscription', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_SUBSCRIBERS',
+  short_desc => 'Maximum number of parallel apply workers per subscription.',
+  variable => 'max_parallel_apply_workers_per_subscription',
+  boot_val => '2',
+  min => '0',
+  max => 'MAX_PARALLEL_WORKER_LIMIT',
+},
+
+{ name => 'max_active_replication_origins', type => 'int', context => 'PGC_POSTMASTER', group => 'REPLICATION_SUBSCRIBERS',
+  short_desc => 'Sets the maximum number of active replication origins.',
+  variable => 'max_active_replication_origins',
+  boot_val => '10',
+  min => '0',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'log_rotation_age', type => 'int', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the amount of time to wait before forcing log file rotation.',
+  long_desc => '0 disables time-based creation of new log files.',
+  flags => 'GUC_UNIT_MIN',
+  variable => 'Log_RotationAge',
+  boot_val => 'HOURS_PER_DAY * MINS_PER_HOUR',
+  min => '0',
+  max => 'INT_MAX / SECS_PER_MINUTE',
+},
+
+{ name => 'log_rotation_size', type => 'int', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the maximum size a log file can reach before being rotated.',
+  long_desc => '0 disables size-based creation of new log files.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'Log_RotationSize',
+  boot_val => '10 * 1024',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'max_function_args', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the maximum number of function arguments.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'max_function_args',
+  boot_val => 'FUNC_MAX_ARGS',
+  min => 'FUNC_MAX_ARGS',
+  max => 'FUNC_MAX_ARGS',
+},
+
+{ name => 'max_index_keys', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the maximum number of index keys.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'max_index_keys',
+  boot_val => 'INDEX_MAX_KEYS',
+  min => 'INDEX_MAX_KEYS',
+  max => 'INDEX_MAX_KEYS',
+},
+
+{ name => 'max_identifier_length', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the maximum identifier length.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'max_identifier_length',
+  boot_val => 'NAMEDATALEN - 1',
+  min => 'NAMEDATALEN - 1',
+  max => 'NAMEDATALEN - 1',
+},
+
+{ name => 'block_size', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the size of a disk block.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'block_size',
+  boot_val => 'BLCKSZ',
+  min => 'BLCKSZ',
+  max => 'BLCKSZ',
+},
+
+{ name => 'segment_size', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the number of pages per disk file.',
+  flags => 'GUC_UNIT_BLOCKS | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'segment_size',
+  boot_val => 'RELSEG_SIZE',
+  min => 'RELSEG_SIZE',
+  max => 'RELSEG_SIZE',
+},
+
+{ name => 'wal_block_size', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the block size in the write ahead log.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'wal_block_size',
+  boot_val => 'XLOG_BLCKSZ',
+  min => 'XLOG_BLCKSZ',
+  max => 'XLOG_BLCKSZ',
+},
+
+{ name => 'wal_retrieve_retry_interval', type => 'int', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the time to wait before retrying to retrieve WAL after a failed attempt.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'wal_retrieve_retry_interval',
+  boot_val => '5000',
+  min => '1',
+  max => 'INT_MAX',
+},
+
+{ name => 'wal_segment_size', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the size of write ahead log segments.',
+  flags => 'GUC_UNIT_BYTE | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED',
+  variable => 'wal_segment_size',
+  boot_val => 'DEFAULT_XLOG_SEG_SIZE',
+  min => 'WalSegMinSize',
+  max => 'WalSegMaxSize',
+  check_hook => 'check_wal_segment_size',
+},
+
+{ name => 'wal_summary_keep_time', type => 'int', context => 'PGC_SIGHUP', group => 'WAL_SUMMARIZATION',
+  short_desc => 'Time for which WAL summary files should be kept.',
+  long_desc => '0 disables automatic summary file deletion.',
+  flags => 'GUC_UNIT_MIN',
+  variable => 'wal_summary_keep_time',
+  boot_val => '10 * HOURS_PER_DAY * MINS_PER_HOUR /* 10 days */',
+  min => '0',
+  max => 'INT_MAX / SECS_PER_MINUTE',
+},
+
+{ name => 'autovacuum_naptime', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Time to sleep between autovacuum runs.',
+  flags => 'GUC_UNIT_S',
+  variable => 'autovacuum_naptime',
+  boot_val => '60',
+  min => '1',
+  max => 'INT_MAX / 1000',
+},
+
+{ name => 'autovacuum_vacuum_threshold', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Minimum number of tuple updates or deletes prior to vacuum.',
+  variable => 'autovacuum_vac_thresh',
+  boot_val => '50',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'autovacuum_vacuum_max_threshold', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Maximum number of tuple updates or deletes prior to vacuum.',
+  long_desc => '-1 disables the maximum threshold.',
+  variable => 'autovacuum_vac_max_thresh',
+  boot_val => '100000000',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'autovacuum_vacuum_insert_threshold', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Minimum number of tuple inserts prior to vacuum.',
+  long_desc => '-1 disables insert vacuums.',
+  variable => 'autovacuum_vac_ins_thresh',
+  boot_val => '1000',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'autovacuum_analyze_threshold', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Minimum number of tuple inserts, updates, or deletes prior to analyze.',
+  variable => 'autovacuum_anl_thresh',
+  boot_val => '50',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+# see varsup.c for why this is PGC_POSTMASTER not PGC_SIGHUP
+# see vacuum_failsafe_age if you change the upper-limit value.
+{ name => 'autovacuum_freeze_max_age', type => 'int', context => 'PGC_POSTMASTER', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Age at which to autovacuum a table to prevent transaction ID wraparound.',
+  variable => 'autovacuum_freeze_max_age',
+  boot_val => '200000000',
+  min => '100000',
+  max => '2000000000',
+},
+
+# see multixact.c for why this is PGC_POSTMASTER not PGC_SIGHUP
+{ name => 'autovacuum_multixact_freeze_max_age', type => 'int', context => 'PGC_POSTMASTER', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Multixact age at which to autovacuum a table to prevent multixact wraparound.',
+  variable => 'autovacuum_multixact_freeze_max_age',
+  boot_val => '400000000',
+  min => '10000',
+  max => '2000000000',
+},
+
+# see max_connections
+{ name => 'autovacuum_worker_slots', type => 'int', context => 'PGC_POSTMASTER', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Sets the number of backend slots to allocate for autovacuum workers.',
+  variable => 'autovacuum_worker_slots',
+  boot_val => '16',
+  min => '1',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'autovacuum_max_workers', type => 'int', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Sets the maximum number of simultaneously running autovacuum worker processes.',
+  variable => 'autovacuum_max_workers',
+  boot_val => '3',
+  min => '1',
+  max => 'MAX_BACKENDS',
+},
+
+{ name => 'max_parallel_maintenance_workers', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_WORKER_PROCESSES',
+  short_desc => 'Sets the maximum number of parallel processes per maintenance operation.',
+  variable => 'max_parallel_maintenance_workers',
+  boot_val => '2',
+  min => '0',
+  max => 'MAX_PARALLEL_WORKER_LIMIT',
+},
+
+{ name => 'max_parallel_workers_per_gather', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_WORKER_PROCESSES',
+  short_desc => 'Sets the maximum number of parallel processes per executor node.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'max_parallel_workers_per_gather',
+  boot_val => '2',
+  min => '0',
+  max => 'MAX_PARALLEL_WORKER_LIMIT',
+},
+
+{ name => 'max_parallel_workers', type => 'int', context => 'PGC_USERSET', group => 'RESOURCES_WORKER_PROCESSES',
+  short_desc => 'Sets the maximum number of parallel workers that can be active at one time.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'max_parallel_workers',
+  boot_val => '8',
+  min => '0',
+  max => 'MAX_PARALLEL_WORKER_LIMIT',
+},
+
+{ name => 'autovacuum_work_mem', type => 'int', context => 'PGC_SIGHUP', group => 'RESOURCES_MEM',
+  short_desc => 'Sets the maximum memory to be used by each autovacuum worker process.',
+  long_desc => '-1 means use "maintenance_work_mem".',
+  flags => 'GUC_UNIT_KB',
+  variable => 'autovacuum_work_mem',
+  boot_val => '-1',
+  min => '-1',
+  max => 'MAX_KILOBYTES',
+  check_hook => 'check_autovacuum_work_mem',
+},
+
+{ name => 'tcp_keepalives_idle', type => 'int', context => 'PGC_USERSET', group => 'CONN_AUTH_TCP',
+  short_desc => 'Time between issuing TCP keepalives.',
+  long_desc => '0 means use the system default.',
+  flags => 'GUC_UNIT_S',
+  variable => 'tcp_keepalives_idle',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  assign_hook => 'assign_tcp_keepalives_idle',
+  show_hook => 'show_tcp_keepalives_idle',
+},
+
+{ name => 'tcp_keepalives_interval', type => 'int', context => 'PGC_USERSET', group => 'CONN_AUTH_TCP',
+  short_desc => 'Time between TCP keepalive retransmits.',
+  long_desc => '0 means use the system default.',
+  flags => 'GUC_UNIT_S',
+  variable => 'tcp_keepalives_interval',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  assign_hook => 'assign_tcp_keepalives_interval',
+  show_hook => 'show_tcp_keepalives_interval',
+},
+
+{ name => 'ssl_renegotiation_limit', type => 'int', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'SSL renegotiation is no longer supported; this can only be 0.',
+  flags => 'GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'ssl_renegotiation_limit',
+  boot_val => '0',
+  min => '0',
+  max => '0',
+},
+
+{ name => 'tcp_keepalives_count', type => 'int', context => 'PGC_USERSET', group => 'CONN_AUTH_TCP',
+  short_desc => 'Maximum number of TCP keepalive retransmits.',
+  long_desc => 'Number of consecutive keepalive retransmits that can be lost before a connection is considered dead. 0 means use the system default.',
+  variable => 'tcp_keepalives_count',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  assign_hook => 'assign_tcp_keepalives_count',
+  show_hook => 'show_tcp_keepalives_count',
+},
+
+{ name => 'gin_fuzzy_search_limit', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_OTHER',
+  short_desc => 'Sets the maximum allowed result for exact search by GIN.',
+  long_desc => '0 means no limit.',
+  variable => 'GinFuzzySearchLimit',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'effective_cache_size', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s assumption about the total size of the data caches.',
+  long_desc => 'That is, the total size of the caches (kernel cache and shared buffers) used for PostgreSQL data files. This is measured in disk pages, which are normally 8 kB each.',
+  flags => 'GUC_UNIT_BLOCKS | GUC_EXPLAIN',
+  variable => 'effective_cache_size',
+  boot_val => 'DEFAULT_EFFECTIVE_CACHE_SIZE',
+  min => '1',
+  max => 'INT_MAX',
+},
+
+{ name => 'min_parallel_table_scan_size', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the minimum amount of table data for a parallel scan.',
+  long_desc => 'If the planner estimates that it will read a number of table pages too small to reach this limit, a parallel scan will not be considered.',
+  flags => 'GUC_UNIT_BLOCKS | GUC_EXPLAIN',
+  variable => 'min_parallel_table_scan_size',
+  boot_val => '(8 * 1024 * 1024) / BLCKSZ',
+  min => '0',
+  max => 'INT_MAX / 3',
+},
+
+{ name => 'min_parallel_index_scan_size', type => 'int', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the minimum amount of index data for a parallel scan.',
+  long_desc => 'If the planner estimates that it will read a number of index pages too small to reach this limit, a parallel scan will not be considered.',
+  flags => 'GUC_UNIT_BLOCKS | GUC_EXPLAIN',
+  variable => 'min_parallel_index_scan_size',
+  boot_val => '(512 * 1024) / BLCKSZ',
+  min => '0',
+  max => 'INT_MAX / 3',
+},
+
+# Can't be set in postgresql.conf
+{ name => 'server_version_num', type => 'int', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the server version as an integer.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'server_version_num',
+  boot_val => 'PG_VERSION_NUM',
+  min => 'PG_VERSION_NUM',
+  max => 'PG_VERSION_NUM',
+},
+
+{ name => 'log_temp_files', type => 'int', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Log the use of temporary files larger than this number of kilobytes.',
+  long_desc => '-1 disables logging temporary files. 0 means log all temporary files.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'log_temp_files',
+  boot_val => '-1',
+  min => '-1',
+  max => 'INT_MAX',
+},
+
+{ name => 'track_activity_query_size', type => 'int', context => 'PGC_POSTMASTER', group => 'STATS_CUMULATIVE',
+  short_desc => 'Sets the size reserved for pg_stat_activity.query, in bytes.',
+  flags => 'GUC_UNIT_BYTE',
+  variable => 'pgstat_track_activity_query_size',
+  boot_val => '1024',
+  min => '100',
+  max => '1048576',
+},
+
+{ name => 'gin_pending_list_limit', type => 'int', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the maximum size of the pending list for GIN index.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'gin_pending_list_limit',
+  boot_val => '4096',
+  min => '64',
+  max => 'MAX_KILOBYTES',
+},
+
+{ name => 'tcp_user_timeout', type => 'int', context => 'PGC_USERSET', group => 'CONN_AUTH_TCP',
+  short_desc => 'TCP user timeout.',
+  long_desc => '0 means use the system default.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'tcp_user_timeout',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  assign_hook => 'assign_tcp_user_timeout',
+  show_hook => 'show_tcp_user_timeout',
+},
+
+{ name => 'huge_page_size', type => 'int', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'The size of huge page that should be requested.',
+  long_desc => '0 means use the system default.',
+  flags => 'GUC_UNIT_KB',
+  variable => 'huge_page_size',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  check_hook => 'check_huge_page_size',
+},
+
+{ name => 'debug_discard_caches', type => 'int', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Aggressively flush system caches for debugging purposes.',
+  long_desc => '0 means use normal caching behavior.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'debug_discard_caches',
+  boot_val => 'DEFAULT_DEBUG_DISCARD_CACHES',
+  min => 'MIN_DEBUG_DISCARD_CACHES',
+  max => 'MAX_DEBUG_DISCARD_CACHES',
+  ifdef => 'DISCARD_CACHES_ENABLED',
+},
+
+{ name => 'client_connection_check_interval', type => 'int', context => 'PGC_USERSET', group => 'CONN_AUTH_TCP',
+  short_desc => 'Sets the time interval between checks for disconnection while running queries.',
+  long_desc => '0 disables connection checks.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'client_connection_check_interval',
+  boot_val => '0',
+  min => '0',
+  max => 'INT_MAX',
+  check_hook => 'check_client_connection_check_interval',
+},
+
+{ name => 'log_startup_progress_interval', type => 'int', context => 'PGC_SIGHUP', group => 'LOGGING_WHEN',
+  short_desc => 'Time between progress updates for long-running startup operations.',
+  long_desc => '0 disables progress updates.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'log_startup_progress_interval',
+  boot_val => '10000',
+  min => '0',
+  max => 'INT_MAX',
+},
+
+{ name => 'scram_iterations', type => 'int', context => 'PGC_USERSET', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Sets the iteration count for SCRAM secret generation.',
+  flags => 'GUC_REPORT',
+  variable => 'scram_sha_256_iterations',
+  boot_val => 'SCRAM_SHA_256_DEFAULT_ITERATIONS',
+  min => '1',
+  max => 'INT_MAX',
+},
+
+
+{ name => 'seq_page_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of a sequentially fetched disk page.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'seq_page_cost',
+  boot_val => 'DEFAULT_SEQ_PAGE_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'random_page_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of a nonsequentially fetched disk page.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'random_page_cost',
+  boot_val => 'DEFAULT_RANDOM_PAGE_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'cpu_tuple_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of processing each tuple (row).',
+  flags => 'GUC_EXPLAIN',
+  variable => 'cpu_tuple_cost',
+  boot_val => 'DEFAULT_CPU_TUPLE_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'cpu_index_tuple_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of processing each index entry during an index scan.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'cpu_index_tuple_cost',
+  boot_val => 'DEFAULT_CPU_INDEX_TUPLE_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'cpu_operator_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of processing each operator or function call.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'cpu_operator_cost',
+  boot_val => 'DEFAULT_CPU_OPERATOR_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'parallel_tuple_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of passing each tuple (row) from worker to leader backend.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'parallel_tuple_cost',
+  boot_val => 'DEFAULT_PARALLEL_TUPLE_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'parallel_setup_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Sets the planner\'s estimate of the cost of starting up worker processes for parallel query.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'parallel_setup_cost',
+  boot_val => 'DEFAULT_PARALLEL_SETUP_COST',
+  min => '0',
+  max => 'DBL_MAX',
+},
+
+{ name => 'jit_above_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Perform JIT compilation if query is more expensive.',
+  long_desc => '-1 disables JIT compilation.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'jit_above_cost',
+  boot_val => '100000',
+  min => '-1',
+  max => 'DBL_MAX',
+},
+
+{ name => 'jit_optimize_above_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Optimize JIT-compiled functions if query is more expensive.',
+  long_desc => '-1 disables optimization.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'jit_optimize_above_cost',
+  boot_val => '500000',
+  min => '-1',
+  max => 'DBL_MAX',
+},
+
+{ name => 'jit_inline_above_cost', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_COST',
+  short_desc => 'Perform JIT inlining if query is more expensive.',
+  long_desc => '-1 disables inlining.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'jit_inline_above_cost',
+  boot_val => '500000',
+  min => '-1',
+  max => 'DBL_MAX',
+},
+
+{ name => 'cursor_tuple_fraction', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Sets the planner\'s estimate of the fraction of a cursor\'s rows that will be retrieved.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'cursor_tuple_fraction',
+  boot_val => 'DEFAULT_CURSOR_TUPLE_FRACTION',
+  min => '0.0',
+  max => '1.0',
+},
+
+{ name => 'recursive_worktable_factor', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Sets the planner\'s estimate of the average size of a recursive query\'s working table.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'recursive_worktable_factor',
+  boot_val => 'DEFAULT_RECURSIVE_WORKTABLE_FACTOR',
+  min => '0.001',
+  max => '1000000.0',
+},
+
+{ name => 'geqo_selection_bias', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'GEQO: selective pressure within the population.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'Geqo_selection_bias',
+  boot_val => 'DEFAULT_GEQO_SELECTION_BIAS',
+  min => 'MIN_GEQO_SELECTION_BIAS',
+  max => 'MAX_GEQO_SELECTION_BIAS',
+},
+
+{ name => 'geqo_seed', type => 'real', context => 'PGC_USERSET', group => 'QUERY_TUNING_GEQO',
+  short_desc => 'GEQO: seed for random path selection.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'Geqo_seed',
+  boot_val => '0.0',
+  min => '0.0',
+  max => '1.0',
+},
+
+{ name => 'hash_mem_multiplier', type => 'real', context => 'PGC_USERSET', group => 'RESOURCES_MEM',
+  short_desc => 'Multiple of "work_mem" to use for hash tables.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'hash_mem_multiplier',
+  boot_val => '2.0',
+  min => '1.0',
+  max => '1000.0',
+},
+
+{ name => 'bgwriter_lru_multiplier', type => 'real', context => 'PGC_SIGHUP', group => 'RESOURCES_BGWRITER',
+  short_desc => 'Multiple of the average buffer usage to free per round.',
+  variable => 'bgwriter_lru_multiplier',
+  boot_val => '2.0',
+  min => '0.0',
+  max => '10.0',
+},
+
+{ name => 'seed', type => 'real', context => 'PGC_USERSET', group => 'UNGROUPED',
+  short_desc => 'Sets the seed for random-number generation.',
+  flags => 'GUC_NO_SHOW_ALL | GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'phony_random_seed',
+  boot_val => '0.0',
+  min => '-1.0',
+  max => '1.0',
+  check_hook => 'check_random_seed',
+  assign_hook => 'assign_random_seed',
+  show_hook => 'show_random_seed',
+},
+
+{ name => 'vacuum_cost_delay', type => 'real', context => 'PGC_USERSET', group => 'VACUUM_COST_DELAY',
+  short_desc => 'Vacuum cost delay in milliseconds.',
+  flags => 'GUC_UNIT_MS',
+  variable => 'VacuumCostDelay',
+  boot_val => '0',
+  min => '0',
+  max => '100',
+},
+
+{ name => 'autovacuum_vacuum_cost_delay', type => 'real', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Vacuum cost delay in milliseconds, for autovacuum.',
+  long_desc => '-1 means use "vacuum_cost_delay".',
+  flags => 'GUC_UNIT_MS',
+  variable => 'autovacuum_vac_cost_delay',
+  boot_val => '2',
+  min => '-1',
+  max => '100',
+},
+
+{ name => 'autovacuum_vacuum_scale_factor', type => 'real', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Number of tuple updates or deletes prior to vacuum as a fraction of reltuples.',
+  variable => 'autovacuum_vac_scale',
+  boot_val => '0.2',
+  min => '0.0',
+  max => '100.0',
+},
+
+{ name => 'autovacuum_vacuum_insert_scale_factor', type => 'real', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Number of tuple inserts prior to vacuum as a fraction of reltuples.',
+  variable => 'autovacuum_vac_ins_scale',
+  boot_val => '0.2',
+  min => '0.0',
+  max => '100.0',
+},
+
+{ name => 'autovacuum_analyze_scale_factor', type => 'real', context => 'PGC_SIGHUP', group => 'VACUUM_AUTOVACUUM',
+  short_desc => 'Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples.',
+  variable => 'autovacuum_anl_scale',
+  boot_val => '0.1',
+  min => '0.0',
+  max => '100.0',
+},
+
+{ name => 'checkpoint_completion_target', type => 'real', context => 'PGC_SIGHUP', group => 'WAL_CHECKPOINTS',
+  short_desc => 'Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval.',
+  variable => 'CheckPointCompletionTarget',
+  boot_val => '0.9',
+  min => '0.0',
+  max => '1.0',
+  assign_hook => 'assign_checkpoint_completion_target',
+},
+
+{ name => 'log_statement_sample_rate', type => 'real', context => 'PGC_SUSET', group => 'LOGGING_WHEN',
+  short_desc => 'Fraction of statements exceeding "log_min_duration_sample" to be logged.',
+  long_desc => 'Use a value between 0.0 (never log) and 1.0 (always log).',
+  variable => 'log_statement_sample_rate',
+  boot_val => '1.0',
+  min => '0.0',
+  max => '1.0',
+},
+
+{ name => 'log_transaction_sample_rate', type => 'real', context => 'PGC_SUSET', group => 'LOGGING_WHEN',
+  short_desc => 'Sets the fraction of transactions from which to log all statements.',
+  long_desc => 'Use a value between 0.0 (never log) and 1.0 (log all statements for all transactions).',
+  variable => 'log_xact_sample_rate',
+  boot_val => '0.0',
+  min => '0.0',
+  max => '1.0',
+},
+
+{ name => 'vacuum_max_eager_freeze_failure_rate', type => 'real', context => 'PGC_USERSET', group => 'VACUUM_FREEZING',
+  short_desc => 'Fraction of pages in a relation vacuum can scan and fail to freeze before disabling eager scanning.',
+  long_desc => 'A value of 0.0 disables eager scanning and a value of 1.0 will eagerly scan up to 100 percent of the all-visible pages in the relation. If vacuum successfully freezes these pages, the cap is lower than 100 percent, because the goal is to amortize page freezing across multiple vacuums.',
+  variable => 'vacuum_max_eager_freeze_failure_rate',
+  boot_val => '0.03',
+  min => '0.0',
+  max => '1.0',
+},
+
+
+{ name => 'archive_command', type => 'string', context => 'PGC_SIGHUP', group => 'WAL_ARCHIVING',
+  short_desc => 'Sets the shell command that will be called to archive a WAL file.',
+  long_desc => 'An empty string means use "archive_library".',
+  variable => 'XLogArchiveCommand',
+  boot_val => '""',
+  show_hook => 'show_archive_command',
+},
+
+{ name => 'archive_library', type => 'string', context => 'PGC_SIGHUP', group => 'WAL_ARCHIVING',
+  short_desc => 'Sets the library that will be called to archive a WAL file.',
+  long_desc => 'An empty string means use "archive_command".',
+  variable => 'XLogArchiveLibrary',
+  boot_val => '""',
+},
+
+{ name => 'restore_command', type => 'string', context => 'PGC_SIGHUP', group => 'WAL_ARCHIVE_RECOVERY',
+  short_desc => 'Sets the shell command that will be called to retrieve an archived WAL file.',
+  variable => 'recoveryRestoreCommand',
+  boot_val => '""',
+},
+
+{ name => 'archive_cleanup_command', type => 'string', context => 'PGC_SIGHUP', group => 'WAL_ARCHIVE_RECOVERY',
+  short_desc => 'Sets the shell command that will be executed at every restart point.',
+  variable => 'archiveCleanupCommand',
+  boot_val => '""',
+},
+
+{ name => 'recovery_end_command', type => 'string', context => 'PGC_SIGHUP', group => 'WAL_ARCHIVE_RECOVERY',
+  short_desc => 'Sets the shell command that will be executed once at the end of recovery.',
+  variable => 'recoveryEndCommand',
+  boot_val => '""',
+},
+
+{ name => 'recovery_target_timeline', type => 'string', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Specifies the timeline to recover into.',
+  variable => 'recovery_target_timeline_string',
+  boot_val => '"latest"',
+  check_hook => 'check_recovery_target_timeline',
+  assign_hook => 'assign_recovery_target_timeline',
+},
+
+{ name => 'recovery_target', type => 'string', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Set to "immediate" to end recovery as soon as a consistent state is reached.',
+  variable => 'recovery_target_string',
+  boot_val => '""',
+  check_hook => 'check_recovery_target',
+  assign_hook => 'assign_recovery_target',
+},
+
+{ name => 'recovery_target_xid', type => 'string', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Sets the transaction ID up to which recovery will proceed.',
+  variable => 'recovery_target_xid_string',
+  boot_val => '""',
+  check_hook => 'check_recovery_target_xid',
+  assign_hook => 'assign_recovery_target_xid',
+},
+
+{ name => 'recovery_target_time', type => 'string', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Sets the time stamp up to which recovery will proceed.',
+  variable => 'recovery_target_time_string',
+  boot_val => '""',
+  check_hook => 'check_recovery_target_time',
+  assign_hook => 'assign_recovery_target_time',
+},
+
+{ name => 'recovery_target_name', type => 'string', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Sets the named restore point up to which recovery will proceed.',
+  variable => 'recovery_target_name_string',
+  boot_val => '""',
+  check_hook => 'check_recovery_target_name',
+  assign_hook => 'assign_recovery_target_name',
+},
+
+{ name => 'recovery_target_lsn', type => 'string', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Sets the LSN of the write-ahead log location up to which recovery will proceed.',
+  variable => 'recovery_target_lsn_string',
+  boot_val => '""',
+  check_hook => 'check_recovery_target_lsn',
+  assign_hook => 'assign_recovery_target_lsn',
+},
+
+{ name => 'primary_conninfo', type => 'string', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the connection string to be used to connect to the sending server.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'PrimaryConnInfo',
+  boot_val => '""',
+},
+
+{ name => 'primary_slot_name', type => 'string', context => 'PGC_SIGHUP', group => 'REPLICATION_STANDBY',
+  short_desc => 'Sets the name of the replication slot to use on the sending server.',
+  variable => 'PrimarySlotName',
+  boot_val => '""',
+  check_hook => 'check_primary_slot_name',
+},
+
+{ name => 'client_encoding', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the client\'s character set encoding.',
+  flags => 'GUC_IS_NAME | GUC_REPORT',
+  variable => 'client_encoding_string',
+  boot_val => '"SQL_ASCII"',
+  check_hook => 'check_client_encoding',
+  assign_hook => 'assign_client_encoding',
+},
+
+{ name => 'log_line_prefix', type => 'string', context => 'PGC_SIGHUP', group => 'LOGGING_WHAT',
+  short_desc => 'Controls information prefixed to each log line.',
+  long_desc => 'An empty string means no prefix.',
+  variable => 'Log_line_prefix',
+  boot_val => '"%m [%p] "',
+},
+
+{ name => 'log_timezone', type => 'string', context => 'PGC_SIGHUP', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the time zone to use in log messages.',
+  variable => 'log_timezone_string',
+  boot_val => '"GMT"',
+  check_hook => 'check_log_timezone',
+  assign_hook => 'assign_log_timezone',
+  show_hook => 'show_log_timezone',
+},
+
+{ name => 'DateStyle', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the display format for date and time values.',
+  long_desc => 'Also controls interpretation of ambiguous date inputs.',
+  flags => 'GUC_LIST_INPUT | GUC_REPORT',
+  variable => 'datestyle_string',
+  boot_val => '"ISO, MDY"',
+  check_hook => 'check_datestyle',
+  assign_hook => 'assign_datestyle',
+},
+
+{ name => 'default_table_access_method', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the default table access method for new tables.',
+  flags => 'GUC_IS_NAME',
+  variable => 'default_table_access_method',
+  boot_val => 'DEFAULT_TABLE_ACCESS_METHOD',
+  check_hook => 'check_default_table_access_method',
+},
+
+{ name => 'default_tablespace', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the default tablespace to create tables and indexes in.',
+  long_desc => 'An empty string means use the database\'s default tablespace.',
+  flags => 'GUC_IS_NAME',
+  variable => 'default_tablespace',
+  boot_val => '""',
+  check_hook => 'check_default_tablespace',
+},
+
+{ name => 'temp_tablespaces', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the tablespace(s) to use for temporary tables and sort files.',
+  long_desc => 'An empty string means use the database\'s default tablespace.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE',
+  variable => 'temp_tablespaces',
+  boot_val => '""',
+  check_hook => 'check_temp_tablespaces',
+  assign_hook => 'assign_temp_tablespaces',
+},
+
+{ name => 'createrole_self_grant', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets whether a CREATEROLE user automatically grants the role to themselves, and with which options.',
+  long_desc => 'An empty string disables automatic self grants.',
+  flags => 'GUC_LIST_INPUT',
+  variable => 'createrole_self_grant',
+  boot_val => '""',
+  check_hook => 'check_createrole_self_grant',
+  assign_hook => 'assign_createrole_self_grant',
+},
+
+{ name => 'dynamic_library_path', type => 'string', context => 'PGC_SUSET', group => 'CLIENT_CONN_OTHER',
+  short_desc => 'Sets the path for dynamically loadable modules.',
+  long_desc => 'If a dynamically loadable module needs to be opened and the specified name does not have a directory component (i.e., the name does not contain a slash), the system will search this path for the specified file.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'Dynamic_library_path',
+  boot_val => '"$libdir"',
+},
+
+{ name => 'extension_control_path', type => 'string', context => 'PGC_SUSET', group => 'CLIENT_CONN_OTHER',
+  short_desc => 'Sets the path for extension control files.',
+  long_desc => 'The remaining extension script and secondary control files are then loaded from the same directory where the primary control file was found.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'Extension_control_path',
+  boot_val => '"$system"',
+},
+
+{ name => 'krb_server_keyfile', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Sets the location of the Kerberos server key file.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'pg_krb_server_keyfile',
+  boot_val => 'PG_KRB_SRVTAB',
+},
+
+{ name => 'bonjour_name', type => 'string', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the Bonjour service name.',
+  long_desc => 'An empty string means use the computer name.',
+  variable => 'bonjour_name',
+  boot_val => '""',
+},
+
+{ name => 'lc_messages', type => 'string', context => 'PGC_SUSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the language in which messages are displayed.',
+  long_desc => 'An empty string means use the operating system setting.',
+  variable => 'locale_messages',
+  boot_val => '""',
+  check_hook => 'check_locale_messages',
+  assign_hook => 'assign_locale_messages',
+},
+
+{ name => 'lc_monetary', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the locale for formatting monetary amounts.',
+  long_desc => 'An empty string means use the operating system setting.',
+  variable => 'locale_monetary',
+  boot_val => '"C"',
+  check_hook => 'check_locale_monetary',
+  assign_hook => 'assign_locale_monetary',
+},
+
+{ name => 'lc_numeric', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the locale for formatting numbers.',
+  long_desc => 'An empty string means use the operating system setting.',
+  variable => 'locale_numeric',
+  boot_val => '"C"',
+  check_hook => 'check_locale_numeric',
+  assign_hook => 'assign_locale_numeric',
+},
+
+{ name => 'lc_time', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the locale for formatting date and time values.',
+  long_desc => 'An empty string means use the operating system setting.',
+  variable => 'locale_time',
+  boot_val => '"C"',
+  check_hook => 'check_locale_time',
+  assign_hook => 'assign_locale_time',
+},
+
+{ name => 'session_preload_libraries', type => 'string', context => 'PGC_SUSET', group => 'CLIENT_CONN_PRELOAD',
+  short_desc => 'Lists shared libraries to preload into each backend.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY',
+  variable => 'session_preload_libraries_string',
+  boot_val => '""',
+},
+
+{ name => 'shared_preload_libraries', type => 'string', context => 'PGC_POSTMASTER', group => 'CLIENT_CONN_PRELOAD',
+  short_desc => 'Lists shared libraries to preload into server.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY',
+  variable => 'shared_preload_libraries_string',
+  boot_val => '""',
+},
+
+{ name => 'local_preload_libraries', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_PRELOAD',
+  short_desc => 'Lists unprivileged shared libraries to preload into each backend.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE',
+  variable => 'local_preload_libraries_string',
+  boot_val => '""',
+},
+
+{ name => 'search_path', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the schema search order for names that are not schema-qualified.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_EXPLAIN | GUC_REPORT',
+  variable => 'namespace_search_path',
+  boot_val => '"\"$user\", public"',
+  check_hook => 'check_search_path',
+  assign_hook => 'assign_search_path',
+},
+
+# Can't be set in postgresql.conf
+{ name => 'server_encoding', type => 'string', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the server (database) character set encoding.',
+  flags => 'GUC_IS_NAME | GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'server_encoding_string',
+  boot_val => '"SQL_ASCII"',
+},
+
+# Can't be set in postgresql.conf
+{ name => 'server_version', type => 'string', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the server version.',
+  flags => 'GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'server_version_string',
+  boot_val => 'PG_VERSION',
+},
+
+# Not for general use --- used by SET ROLE
+{ name => 'role', type => 'string', context => 'PGC_USERSET', group => 'UNGROUPED',
+  short_desc => 'Sets the current role.',
+  flags => 'GUC_IS_NAME | GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_NOT_WHILE_SEC_REST',
+  variable => 'role_string',
+  boot_val => '"none"',
+  check_hook => 'check_role',
+  assign_hook => 'assign_role',
+  show_hook => 'show_role',
+},
+
+# Not for general use --- used by SET SESSION AUTHORIZATION
+{ name => 'session_authorization', type => 'string', context => 'PGC_USERSET', group => 'UNGROUPED',
+  short_desc => 'Sets the session user name.',
+  flags => 'GUC_IS_NAME | GUC_REPORT | GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_NOT_WHILE_SEC_REST',
+  variable => 'session_authorization_string',
+  boot_val => 'NULL',
+  check_hook => 'check_session_authorization',
+  assign_hook => 'assign_session_authorization',
+},
+
+{ name => 'log_destination', type => 'string', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the destination for server log output.',
+  long_desc => 'Valid values are combinations of "stderr", "syslog", "csvlog", "jsonlog", and "eventlog", depending on the platform.',
+  flags => 'GUC_LIST_INPUT',
+  variable => 'Log_destination_string',
+  boot_val => '"stderr"',
+  check_hook => 'check_log_destination',
+  assign_hook => 'assign_log_destination',
+},
+
+{ name => 'log_directory', type => 'string', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the destination directory for log files.',
+  long_desc => 'Can be specified as relative to the data directory or as absolute path.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'Log_directory',
+  boot_val => '"log"',
+  check_hook => 'check_canonical_path',
+},
+
+{ name => 'log_filename', type => 'string', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the file name pattern for log files.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'Log_filename',
+  boot_val => '"postgresql-%Y-%m-%d_%H%M%S.log"',
+},
+
+{ name => 'syslog_ident', type => 'string', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the program name used to identify PostgreSQL messages in syslog.',
+  variable => 'syslog_ident_str',
+  boot_val => '"postgres"',
+  assign_hook => 'assign_syslog_ident',
+},
+
+{ name => 'event_source', type => 'string', context => 'PGC_POSTMASTER', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the application name used to identify PostgreSQL messages in the event log.',
+  variable => 'event_source',
+  boot_val => 'DEFAULT_EVENT_SOURCE',
+},
+
+{ name => 'TimeZone', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the time zone for displaying and interpreting time stamps.',
+  flags => 'GUC_REPORT',
+  variable => 'timezone_string',
+  boot_val => '"GMT"',
+  check_hook => 'check_timezone',
+  assign_hook => 'assign_timezone',
+  show_hook => 'show_timezone',
+},
+
+{ name => 'timezone_abbreviations', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Selects a file of time zone abbreviations.',
+  variable => 'timezone_abbreviations_string',
+  boot_val => 'NULL',
+  check_hook => 'check_timezone_abbreviations',
+  assign_hook => 'assign_timezone_abbreviations',
+},
+
+{ name => 'unix_socket_group', type => 'string', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the owning group of the Unix-domain socket.',
+  long_desc => 'The owning user of the socket is always the user that starts the server. An empty string means use the user\'s default group.',
+  variable => 'Unix_socket_group',
+  boot_val => '""',
+},
+
+{ name => 'unix_socket_directories', type => 'string', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the directories where Unix-domain sockets will be created.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY',
+  variable => 'Unix_socket_directories',
+  boot_val => 'DEFAULT_PGSOCKET_DIR',
+},
+
+{ name => 'listen_addresses', type => 'string', context => 'PGC_POSTMASTER', group => 'CONN_AUTH_SETTINGS',
+  short_desc => 'Sets the host name or IP address(es) to listen to.',
+  flags => 'GUC_LIST_INPUT',
+  variable => 'ListenAddresses',
+  boot_val => '"localhost"',
+},
+
+# Can't be set by ALTER SYSTEM as it can lead to recursive definition
+# of data_directory.
+{ name => 'data_directory', type => 'string', context => 'PGC_POSTMASTER', group => 'FILE_LOCATIONS',
+  short_desc => 'Sets the server\'s data directory.',
+  flags => 'GUC_SUPERUSER_ONLY | GUC_DISALLOW_IN_AUTO_FILE',
+  variable => 'data_directory',
+  boot_val => 'NULL',
+},
+
+{ name => 'config_file', type => 'string', context => 'PGC_POSTMASTER', group => 'FILE_LOCATIONS',
+  short_desc => 'Sets the server\'s main configuration file.',
+  flags => 'GUC_DISALLOW_IN_FILE | GUC_SUPERUSER_ONLY',
+  variable => 'ConfigFileName',
+  boot_val => 'NULL',
+},
+
+{ name => 'hba_file', type => 'string', context => 'PGC_POSTMASTER', group => 'FILE_LOCATIONS',
+  short_desc => 'Sets the server\'s "hba" configuration file.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'HbaFileName',
+  boot_val => 'NULL',
+},
+
+{ name => 'ident_file', type => 'string', context => 'PGC_POSTMASTER', group => 'FILE_LOCATIONS',
+  short_desc => 'Sets the server\'s "ident" configuration file.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'IdentFileName',
+  boot_val => 'NULL',
+},
+
+{ name => 'external_pid_file', type => 'string', context => 'PGC_POSTMASTER', group => 'FILE_LOCATIONS',
+  short_desc => 'Writes the postmaster PID to the specified file.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'external_pid_file',
+  boot_val => 'NULL',
+  check_hook => 'check_canonical_path',
+},
+
+{ name => 'ssl_library', type => 'string', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Shows the name of the SSL library.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'ssl_library',
+  boot_val => 'SSL_LIBRARY',
+},
+
+{ name => 'ssl_cert_file', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Location of the SSL server certificate file.',
+  variable => 'ssl_cert_file',
+  boot_val => '"server.crt"',
+},
+
+{ name => 'ssl_key_file', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Location of the SSL server private key file.',
+  variable => 'ssl_key_file',
+  boot_val => '"server.key"',
+},
+
+{ name => 'ssl_ca_file', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Location of the SSL certificate authority file.',
+  variable => 'ssl_ca_file',
+  boot_val => '""',
+},
+
+{ name => 'ssl_crl_file', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Location of the SSL certificate revocation list file.',
+  variable => 'ssl_crl_file',
+  boot_val => '""',
+},
+
+{ name => 'ssl_crl_dir', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Location of the SSL certificate revocation list directory.',
+  variable => 'ssl_crl_dir',
+  boot_val => '""',
+},
+
+{ name => 'synchronous_standby_names', type => 'string', context => 'PGC_SIGHUP', group => 'REPLICATION_PRIMARY',
+  short_desc => 'Number of synchronous standbys and list of names of potential synchronous ones.',
+  flags => 'GUC_LIST_INPUT',
+  variable => 'SyncRepStandbyNames',
+  boot_val => '""',
+  check_hook => 'check_synchronous_standby_names',
+  assign_hook => 'assign_synchronous_standby_names',
+},
+
+{ name => 'default_text_search_config', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets default text search configuration.',
+  variable => 'TSCurrentConfig',
+  boot_val => '"pg_catalog.simple"',
+  check_hook => 'check_default_text_search_config',
+  assign_hook => 'assign_default_text_search_config',
+},
+
+{ name => 'ssl_tls13_ciphers', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Sets the list of allowed TLSv1.3 cipher suites.',
+  long_desc => 'An empty string means use the default cipher suites.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'SSLCipherSuites',
+  boot_val => '""',
+},
+
+{ name => 'ssl_ciphers', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Sets the list of allowed TLSv1.2 (and lower) ciphers.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'SSLCipherList',
+  boot_val => 'DEFAULT_SSL_CIPHERS',
+},
+
+{ name => 'ssl_groups', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Sets the group(s) to use for Diffie-Hellman key exchange.',
+  long_desc => 'Multiple groups can be specified using a colon-separated list.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'SSLECDHCurve',
+  boot_val => 'DEFAULT_SSL_GROUPS',
+},
+
+{ name => 'ssl_dh_params_file', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Location of the SSL DH parameters file.',
+  long_desc => 'An empty string means use compiled-in default parameters.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'ssl_dh_params_file',
+  boot_val => '""',
+},
+
+{ name => 'ssl_passphrase_command', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Command to obtain passphrases for SSL.',
+  long_desc => 'An empty string means use the built-in prompting mechanism.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'ssl_passphrase_command',
+  boot_val => '""',
+},
+
+{ name => 'application_name', type => 'string', context => 'PGC_USERSET', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the application name to be reported in statistics and logs.',
+  flags => 'GUC_IS_NAME | GUC_REPORT | GUC_NOT_IN_SAMPLE',
+  variable => 'application_name',
+  boot_val => '""',
+  check_hook => 'check_application_name',
+  assign_hook => 'assign_application_name',
+},
+
+{ name => 'cluster_name', type => 'string', context => 'PGC_POSTMASTER', group => 'PROCESS_TITLE',
+  short_desc => 'Sets the name of the cluster, which is included in the process title.',
+  flags => 'GUC_IS_NAME',
+  variable => 'cluster_name',
+  boot_val => '""',
+  check_hook => 'check_cluster_name',
+},
+
+{ name => 'wal_consistency_checking', type => 'string', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Sets the WAL resource managers for which WAL consistency checks are done.',
+  long_desc => 'Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay.',
+  flags => 'GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE',
+  variable => 'wal_consistency_checking_string',
+  boot_val => '""',
+  check_hook => 'check_wal_consistency_checking',
+  assign_hook => 'assign_wal_consistency_checking',
+},
+
+{ name => 'jit_provider', type => 'string', context => 'PGC_POSTMASTER', group => 'CLIENT_CONN_PRELOAD',
+  short_desc => 'JIT provider to use.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'jit_provider',
+  boot_val => '"llvmjit"',
+},
+
+{ name => 'backtrace_functions', type => 'string', context => 'PGC_SUSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Log backtrace for errors in these functions.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'backtrace_functions',
+  boot_val => '""',
+  check_hook => 'check_backtrace_functions',
+  assign_hook => 'assign_backtrace_functions',
+},
+
+{ name => 'debug_io_direct', type => 'string', context => 'PGC_POSTMASTER', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Use direct I/O for file access.',
+  long_desc => 'An empty string disables direct I/O.',
+  flags => 'GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE',
+  variable => 'debug_io_direct_string',
+  boot_val => '""',
+  check_hook => 'check_debug_io_direct',
+  assign_hook => 'assign_debug_io_direct',
+},
+
+{ name => 'synchronized_standby_slots', type => 'string', context => 'PGC_SIGHUP', group => 'REPLICATION_PRIMARY',
+  short_desc => 'Lists streaming replication standby server replication slot names that logical WAL sender processes will wait for.',
+  long_desc => 'Logical WAL sender processes will send decoded changes to output plugins only after the specified replication slots have confirmed receiving WAL.',
+  flags => 'GUC_LIST_INPUT',
+  variable => 'synchronized_standby_slots',
+  boot_val => '""',
+  check_hook => 'check_synchronized_standby_slots',
+  assign_hook => 'assign_synchronized_standby_slots',
+},
+
+{ name => 'restrict_nonsystem_relation_kind', type => 'string', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Prohibits access to non-system relations of specified kinds.',
+  flags => 'GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE',
+  variable => 'restrict_nonsystem_relation_kind_string',
+  boot_val => '""',
+  check_hook => 'check_restrict_nonsystem_relation_kind',
+  assign_hook => 'assign_restrict_nonsystem_relation_kind',
+},
+
+{ name => 'oauth_validator_libraries', type => 'string', context => 'PGC_SIGHUP', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Lists libraries that may be called to validate OAuth v2 bearer tokens.',
+  flags => 'GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY',
+  variable => 'oauth_validator_libraries_string',
+  boot_val => '""',
+},
+
+{ name => 'log_connections', type => 'string', context => 'PGC_SU_BACKEND', group => 'LOGGING_WHAT',
+  short_desc => 'Logs specified aspects of connection establishment and setup.',
+  flags => 'GUC_LIST_INPUT',
+  variable => 'log_connections_string',
+  boot_val => '""',
+  check_hook => 'check_log_connections',
+  assign_hook => 'assign_log_connections',
+},
+
+{ name => 'backslash_quote', type => 'enum', context => 'PGC_USERSET', group => 'COMPAT_OPTIONS_PREVIOUS',
+  short_desc => 'Sets whether "\\\\\'" is allowed in string literals.',
+  variable => 'backslash_quote',
+  boot_val => 'BACKSLASH_QUOTE_SAFE_ENCODING',
+  options => 'backslash_quote_options',
+},
+
+{ name => 'bytea_output', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the output format for bytea.',
+  variable => 'bytea_output',
+  boot_val => 'BYTEA_OUTPUT_HEX',
+  options => 'bytea_output_options',
+},
+
+{ name => 'client_min_messages', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the message levels that are sent to the client.',
+  long_desc => 'Each level includes all the levels that follow it. The later the level, the fewer messages are sent.',
+  variable => 'client_min_messages',
+  boot_val => 'NOTICE',
+  options => 'client_message_level_options',
+},
+
+{ name => 'compute_query_id', type => 'enum', context => 'PGC_SUSET', group => 'STATS_MONITORING',
+  short_desc => 'Enables in-core computation of query identifiers.',
+  variable => 'compute_query_id',
+  boot_val => 'COMPUTE_QUERY_ID_AUTO',
+  options => 'compute_query_id_options',
+},
+
+{ name => 'constraint_exclusion', type => 'enum', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Enables the planner to use constraints to optimize queries.',
+  long_desc => 'Table scans will be skipped if their constraints guarantee that no rows match the query.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'constraint_exclusion',
+  boot_val => 'CONSTRAINT_EXCLUSION_PARTITION',
+  options => 'constraint_exclusion_options',
+},
+
+{ name => 'default_toast_compression', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the default compression method for compressible values.',
+  variable => 'default_toast_compression',
+  boot_val => 'TOAST_PGLZ_COMPRESSION',
+  options => 'default_toast_compression_options',
+},
+
+{ name => 'default_transaction_isolation', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the transaction isolation level of each new transaction.',
+  variable => 'DefaultXactIsoLevel',
+  boot_val => 'XACT_READ_COMMITTED',
+  options => 'isolation_level_options',
+},
+
+{ name => 'transaction_isolation', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the current transaction\'s isolation level.',
+  flags => 'GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'XactIsoLevel',
+  boot_val => 'XACT_READ_COMMITTED',
+  options => 'isolation_level_options',
+  check_hook => 'check_transaction_isolation',
+},
+
+{ name => 'IntervalStyle', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Sets the display format for interval values.',
+  flags => 'GUC_REPORT',
+  variable => 'IntervalStyle',
+  boot_val => 'INTSTYLE_POSTGRES',
+  options => 'intervalstyle_options',
+},
+
+{ name => 'icu_validation_level', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_LOCALE',
+  short_desc => 'Log level for reporting invalid ICU locale strings.',
+  variable => 'icu_validation_level',
+  boot_val => 'WARNING',
+  options => 'icu_validation_level_options',
+},
+
+{ name => 'log_error_verbosity', type => 'enum', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the verbosity of logged messages.',
+  variable => 'Log_error_verbosity',
+  boot_val => 'PGERROR_DEFAULT',
+  options => 'log_error_verbosity_options',
+},
+
+{ name => 'log_min_messages', type => 'enum', context => 'PGC_SUSET', group => 'LOGGING_WHEN',
+  short_desc => 'Sets the message levels that are logged.',
+  long_desc => 'Each level includes all the levels that follow it. The later the level, the fewer messages are sent.',
+  variable => 'log_min_messages',
+  boot_val => 'WARNING',
+  options => 'server_message_level_options',
+},
+
+{ name => 'log_min_error_statement', type => 'enum', context => 'PGC_SUSET', group => 'LOGGING_WHEN',
+  short_desc => 'Causes all statements generating error at or above this level to be logged.',
+  long_desc => 'Each level includes all the levels that follow it. The later the level, the fewer messages are sent.',
+  variable => 'log_min_error_statement',
+  boot_val => 'ERROR',
+  options => 'server_message_level_options',
+},
+
+{ name => 'log_statement', type => 'enum', context => 'PGC_SUSET', group => 'LOGGING_WHAT',
+  short_desc => 'Sets the type of statements logged.',
+  variable => 'log_statement',
+  boot_val => 'LOGSTMT_NONE',
+  options => 'log_statement_options',
+},
+
+{ name => 'syslog_facility', type => 'enum', context => 'PGC_SIGHUP', group => 'LOGGING_WHERE',
+  short_desc => 'Sets the syslog "facility" to be used when syslog enabled.',
+  variable => 'syslog_facility',
+  boot_val => 'DEFAULT_SYSLOG_FACILITY',
+  options => 'syslog_facility_options',
+  assign_hook => 'assign_syslog_facility',
+},
+
+{ name => 'session_replication_role', type => 'enum', context => 'PGC_SUSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets the session\'s behavior for triggers and rewrite rules.',
+  variable => 'SessionReplicationRole',
+  boot_val => 'SESSION_REPLICATION_ROLE_ORIGIN',
+  options => 'session_replication_role_options',
+  assign_hook => 'assign_session_replication_role',
+},
+
+{ name => 'synchronous_commit', type => 'enum', context => 'PGC_USERSET', group => 'WAL_SETTINGS',
+  short_desc => 'Sets the current transaction\'s synchronization level.',
+  variable => 'synchronous_commit',
+  boot_val => 'SYNCHRONOUS_COMMIT_ON',
+  options => 'synchronous_commit_options',
+  assign_hook => 'assign_synchronous_commit',
+},
+
+{ name => 'archive_mode', type => 'enum', context => 'PGC_POSTMASTER', group => 'WAL_ARCHIVING',
+  short_desc => 'Allows archiving of WAL files using "archive_command".',
+  variable => 'XLogArchiveMode',
+  boot_val => 'ARCHIVE_MODE_OFF',
+  options => 'archive_mode_options',
+},
+
+{ name => 'recovery_target_action', type => 'enum', context => 'PGC_POSTMASTER', group => 'WAL_RECOVERY_TARGET',
+  short_desc => 'Sets the action to perform upon reaching the recovery target.',
+  variable => 'recoveryTargetAction',
+  boot_val => 'RECOVERY_TARGET_ACTION_PAUSE',
+  options => 'recovery_target_action_options',
+},
+
+{ name => 'track_functions', type => 'enum', context => 'PGC_SUSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Collects function-level statistics on database activity.',
+  variable => 'pgstat_track_functions',
+  boot_val => 'TRACK_FUNC_OFF',
+  options => 'track_function_options',
+},
+
+{ name => 'stats_fetch_consistency', type => 'enum', context => 'PGC_USERSET', group => 'STATS_CUMULATIVE',
+  short_desc => 'Sets the consistency of accesses to statistics data.',
+  variable => 'pgstat_fetch_consistency',
+  boot_val => 'PGSTAT_FETCH_CONSISTENCY_CACHE',
+  options => 'stats_fetch_consistency',
+  assign_hook => 'assign_stats_fetch_consistency',
+},
+
+{ name => 'wal_compression', type => 'enum', context => 'PGC_SUSET', group => 'WAL_SETTINGS',
+  short_desc => 'Compresses full-page writes written in WAL file with specified method.',
+  variable => 'wal_compression',
+  boot_val => 'WAL_COMPRESSION_NONE',
+  options => 'wal_compression_options',
+},
+
+{ name => 'wal_level', type => 'enum', context => 'PGC_POSTMASTER', group => 'WAL_SETTINGS',
+  short_desc => 'Sets the level of information written to the WAL.',
+  variable => 'wal_level',
+  boot_val => 'WAL_LEVEL_REPLICA',
+  options => 'wal_level_options',
+},
+
+{ name => 'dynamic_shared_memory_type', type => 'enum', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Selects the dynamic shared memory implementation used.',
+  variable => 'dynamic_shared_memory_type',
+  boot_val => 'DEFAULT_DYNAMIC_SHARED_MEMORY_TYPE',
+  options => 'dynamic_shared_memory_options',
+},
+
+{ name => 'shared_memory_type', type => 'enum', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Selects the shared memory implementation used for the main shared memory region.',
+  variable => 'shared_memory_type',
+  boot_val => 'DEFAULT_SHARED_MEMORY_TYPE',
+  options => 'shared_memory_options',
+},
+
+{ name => 'file_copy_method', type => 'enum', context => 'PGC_USERSET', group => 'RESOURCES_DISK',
+  short_desc => 'Selects the file copy method.',
+  variable => 'file_copy_method',
+  boot_val => 'FILE_COPY_METHOD_COPY',
+  options => 'file_copy_method_options',
+},
+
+{ name => 'wal_sync_method', type => 'enum', context => 'PGC_SIGHUP', group => 'WAL_SETTINGS',
+  short_desc => 'Selects the method used for forcing WAL updates to disk.',
+  variable => 'wal_sync_method',
+  boot_val => 'DEFAULT_WAL_SYNC_METHOD',
+  options => 'wal_sync_method_options',
+  assign_hook => 'assign_wal_sync_method',
+},
+
+{ name => 'xmlbinary', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets how binary values are to be encoded in XML.',
+  variable => 'xmlbinary',
+  boot_val => 'XMLBINARY_BASE64',
+  options => 'xmlbinary_options',
+},
+
+{ name => 'xmloption', type => 'enum', context => 'PGC_USERSET', group => 'CLIENT_CONN_STATEMENT',
+  short_desc => 'Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments.',
+  variable => 'xmloption',
+  boot_val => 'XMLOPTION_CONTENT',
+  options => 'xmloption_options',
+},
+
+{ name => 'huge_pages', type => 'enum', context => 'PGC_POSTMASTER', group => 'RESOURCES_MEM',
+  short_desc => 'Use of huge pages on Linux or Windows.',
+  variable => 'huge_pages',
+  boot_val => 'HUGE_PAGES_TRY',
+  options => 'huge_pages_options',
+},
+
+{ name => 'huge_pages_status', type => 'enum', context => 'PGC_INTERNAL', group => 'PRESET_OPTIONS',
+  short_desc => 'Indicates the status of huge pages.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE',
+  variable => 'huge_pages_status',
+  boot_val => 'HUGE_PAGES_UNKNOWN',
+  options => 'huge_pages_status_options',
+},
+
+{ name => 'recovery_prefetch', type => 'enum', context => 'PGC_SIGHUP', group => 'WAL_RECOVERY',
+  short_desc => 'Prefetch referenced blocks during recovery.',
+  long_desc => 'Look ahead in the WAL to find references to uncached data.',
+  variable => 'recovery_prefetch',
+  boot_val => 'RECOVERY_PREFETCH_TRY',
+  options => 'recovery_prefetch_options',
+  check_hook => 'check_recovery_prefetch',
+  assign_hook => 'assign_recovery_prefetch',
+},
+
+{ name => 'debug_parallel_query', type => 'enum', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Forces the planner\'s use parallel query nodes.',
+  long_desc => 'This can be useful for testing the parallel query infrastructure by forcing the planner to generate plans that contain nodes that perform tuple communication between workers and the main process.',
+  flags => 'GUC_NOT_IN_SAMPLE | GUC_EXPLAIN',
+  variable => 'debug_parallel_query',
+  boot_val => 'DEBUG_PARALLEL_OFF',
+  options => 'debug_parallel_query_options',
+},
+
+{ name => 'password_encryption', type => 'enum', context => 'PGC_USERSET', group => 'CONN_AUTH_AUTH',
+  short_desc => 'Chooses the algorithm for encrypting passwords.',
+  variable => 'Password_encryption',
+  boot_val => 'PASSWORD_TYPE_SCRAM_SHA_256',
+  options => 'password_encryption_options',
+},
+
+{ name => 'plan_cache_mode', type => 'enum', context => 'PGC_USERSET', group => 'QUERY_TUNING_OTHER',
+  short_desc => 'Controls the planner\'s selection of custom or generic plan.',
+  long_desc => 'Prepared statements can have custom and generic plans, and the planner will attempt to choose which is better.  This can be set to override the default behavior.',
+  flags => 'GUC_EXPLAIN',
+  variable => 'plan_cache_mode',
+  boot_val => 'PLAN_CACHE_MODE_AUTO',
+  options => 'plan_cache_mode_options',
+},
+
+{ name => 'ssl_min_protocol_version', type => 'enum', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Sets the minimum SSL/TLS protocol version to use.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'ssl_min_protocol_version',
+  boot_val => 'PG_TLS1_2_VERSION',
+  options => 'ssl_protocol_versions_info + 1', # don't allow PG_TLS_ANY
+},
+
+{ name => 'ssl_max_protocol_version', type => 'enum', context => 'PGC_SIGHUP', group => 'CONN_AUTH_SSL',
+  short_desc => 'Sets the maximum SSL/TLS protocol version to use.',
+  flags => 'GUC_SUPERUSER_ONLY',
+  variable => 'ssl_max_protocol_version',
+  boot_val => 'PG_TLS_ANY',
+  options => 'ssl_protocol_versions_info',
+},
+
+{ name => 'recovery_init_sync_method', type => 'enum', context => 'PGC_SIGHUP', group => 'ERROR_HANDLING_OPTIONS',
+  short_desc => 'Sets the method for synchronizing the data directory before crash recovery.',
+  variable => 'recovery_init_sync_method',
+  boot_val => 'DATA_DIR_SYNC_METHOD_FSYNC',
+  options => 'recovery_init_sync_method_options',
+},
+
+{ name => 'debug_logical_replication_streaming', type => 'enum', context => 'PGC_USERSET', group => 'DEVELOPER_OPTIONS',
+  short_desc => 'Forces immediate streaming or serialization of changes in large transactions.',
+  long_desc => 'On the publisher, it allows streaming or serializing each change in logical decoding. On the subscriber, it allows serialization of all changes to files and notifies the parallel apply workers to read and apply them at the end of the transaction.',
+  flags => 'GUC_NOT_IN_SAMPLE',
+  variable => 'debug_logical_replication_streaming',
+  boot_val => 'DEBUG_LOGICAL_REP_STREAMING_BUFFERED',
+  options => 'debug_logical_replication_streaming_options',
+},
+
+{ name => 'io_method', type => 'enum', context => 'PGC_POSTMASTER', group => 'RESOURCES_IO',
+  short_desc => 'Selects the method for executing asynchronous I/O.',
+  variable => 'io_method',
+  boot_val => 'DEFAULT_IO_METHOD',
+  options => 'io_method_options',
+  assign_hook => 'assign_io_method',
+},
+
+]
diff --git a/src/backend/utils/misc/guc_tables.c b/src/backend/utils/misc/guc_tables.c
index f137129209..787933a9e5 100644
--- a/src/backend/utils/misc/guc_tables.c
+++ b/src/backend/utils/misc/guc_tables.c
@@ -760,4738 +760,4 @@ StaticAssertDecl(lengthof(config_type_names) == (PGC_ENUM + 1),
 				 "array length mismatch");
 
 
-/*
- * Contents of GUC tables
- *
- * See src/backend/utils/misc/README for design notes.
- *
- * TO ADD AN OPTION:
- *
- * 1. Declare a global variable of type bool, int, double, or char*
- *	  and make use of it.
- *
- * 2. Decide at what times it's safe to set the option. See guc.h for
- *	  details.
- *
- * 3. Decide on a name, a default value, upper and lower bounds (if
- *	  applicable), etc.
- *
- * 4. Add a record below.
- *
- * 5. Add it to src/backend/utils/misc/postgresql.conf.sample, if
- *	  appropriate.
- *
- * 6. Don't forget to document the option (at least in config.sgml).
- *
- * 7. If it's a new GUC_LIST_QUOTE option, you must add it to
- *	  variable_is_guc_list_quote() in src/bin/pg_dump/dumputils.c.
- */
-
-struct config_bool ConfigureNamesBool[] =
-{
-	{
-		{"enable_seqscan", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of sequential-scan plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_seqscan,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_indexscan", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of index-scan plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_indexscan,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_indexonlyscan", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of index-only-scan plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_indexonlyscan,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_bitmapscan", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of bitmap-scan plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_bitmapscan,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_tidscan", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of TID scan plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_tidscan,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_sort", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of explicit sort steps."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_sort,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_incremental_sort", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of incremental sort steps."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_incremental_sort,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_hashagg", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of hashed aggregation plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_hashagg,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_material", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of materialization."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_material,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_memoize", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of memoization."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_memoize,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_nestloop", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of nested-loop join plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_nestloop,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_mergejoin", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of merge join plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_mergejoin,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_hashjoin", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of hash join plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_hashjoin,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_gathermerge", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of gather merge plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_gathermerge,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_partitionwise_join", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables partitionwise join."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_partitionwise_join,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_partitionwise_aggregate", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables partitionwise aggregation and grouping."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_partitionwise_aggregate,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_parallel_append", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of parallel append plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_parallel_append,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_parallel_hash", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of parallel hash plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_parallel_hash,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_partition_pruning", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables plan-time and execution-time partition pruning."),
-			gettext_noop("Allows the query planner and executor to compare partition "
-						 "bounds to conditions in the query to determine which "
-						 "partitions must be scanned."),
-			GUC_EXPLAIN
-		},
-		&enable_partition_pruning,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_presorted_aggregate", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's ability to produce plans that "
-						 "provide presorted input for ORDER BY / DISTINCT aggregate "
-						 "functions."),
-			gettext_noop("Allows the query planner to build plans that provide "
-						 "presorted input for aggregate functions with an ORDER BY / "
-						 "DISTINCT clause.  When disabled, implicit sorts are always "
-						 "performed during execution."),
-			GUC_EXPLAIN
-		},
-		&enable_presorted_aggregate,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_async_append", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables the planner's use of async append plans."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_async_append,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_self_join_elimination", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables removal of unique self-joins."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_self_join_elimination,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_group_by_reordering", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables reordering of GROUP BY keys."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_group_by_reordering,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"enable_distinct_reordering", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables reordering of DISTINCT keys."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&enable_distinct_reordering,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"geqo", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("Enables genetic query optimization."),
-			gettext_noop("This algorithm attempts to do planning without "
-						 "exhaustive searching."),
-			GUC_EXPLAIN
-		},
-		&enable_geqo,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		/*
-		 * Not for general use --- used by SET SESSION AUTHORIZATION and SET
-		 * ROLE
-		 */
-		{"is_superuser", PGC_INTERNAL, UNGROUPED,
-			gettext_noop("Shows whether the current user is a superuser."),
-			NULL,
-			GUC_REPORT | GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_ALLOW_IN_PARALLEL
-		},
-		&current_role_is_superuser,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		/*
-		 * This setting itself cannot be set by ALTER SYSTEM to avoid an
-		 * operator turning this setting off by using ALTER SYSTEM, without a
-		 * way to turn it back on.
-		 */
-		{"allow_alter_system", PGC_SIGHUP, COMPAT_OPTIONS_OTHER,
-			gettext_noop("Allows running the ALTER SYSTEM command."),
-			gettext_noop("Can be set to off for environments where global configuration "
-						 "changes should be made using a different method."),
-			GUC_DISALLOW_IN_AUTO_FILE
-		},
-		&AllowAlterSystem,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bonjour", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Enables advertising the server via Bonjour."),
-			NULL
-		},
-		&enable_bonjour,
-		false,
-		check_bonjour, NULL, NULL
-	},
-
-	{
-		{"track_commit_timestamp", PGC_POSTMASTER, REPLICATION_SENDING,
-			gettext_noop("Collects transaction commit time."),
-			NULL
-		},
-		&track_commit_timestamp,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Enables SSL connections."),
-			NULL
-		},
-		&EnableSSL,
-		false,
-		check_ssl, NULL, NULL
-	},
-
-	{
-		{"ssl_passphrase_command_supports_reload", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Controls whether \"ssl_passphrase_command\" is called during server reload."),
-			NULL
-		},
-		&ssl_passphrase_command_supports_reload,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_prefer_server_ciphers", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Give priority to server ciphersuite order."),
-			NULL
-		},
-		&SSLPreferServerCiphers,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"fsync", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Forces synchronization of updates to disk."),
-			gettext_noop("The server will use the fsync() system call in several places to make "
-						 "sure that updates are physically written to disk. This ensures "
-						 "that a database cluster will recover to a consistent state after "
-						 "an operating system or hardware crash.")
-		},
-		&enableFsync,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ignore_checksum_failure", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Continues processing after a checksum failure."),
-			gettext_noop("Detection of a checksum failure normally causes PostgreSQL to "
-						 "report an error, aborting the current transaction. Setting "
-						 "ignore_checksum_failure to true causes the system to ignore the failure "
-						 "(but still report a warning), and continue processing. This "
-						 "behavior could cause crashes or other serious problems. Only "
-						 "has an effect if checksums are enabled."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&ignore_checksum_failure,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"zero_damaged_pages", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Continues processing past damaged page headers."),
-			gettext_noop("Detection of a damaged page header normally causes PostgreSQL to "
-						 "report an error, aborting the current transaction. Setting "
-						 "\"zero_damaged_pages\" to true causes the system to instead report a "
-						 "warning, zero out the damaged page, and continue processing. This "
-						 "behavior will destroy data, namely all the rows on the damaged page."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&zero_damaged_pages,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ignore_invalid_pages", PGC_POSTMASTER, DEVELOPER_OPTIONS,
-			gettext_noop("Continues recovery after an invalid pages failure."),
-			gettext_noop("Detection of WAL records having references to "
-						 "invalid pages during recovery causes PostgreSQL to "
-						 "raise a PANIC-level error, aborting the recovery. "
-						 "Setting \"ignore_invalid_pages\" to true causes "
-						 "the system to ignore invalid page references "
-						 "in WAL records (but still report a warning), "
-						 "and continue recovery. This behavior may cause "
-						 "crashes, data loss, propagate or hide corruption, "
-						 "or other serious problems. Only has an effect "
-						 "during recovery or in standby mode."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&ignore_invalid_pages,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"full_page_writes", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Writes full pages to WAL when first modified after a checkpoint."),
-			gettext_noop("A page write in process during an operating system crash might be "
-						 "only partially written to disk.  During recovery, the row changes "
-						 "stored in WAL are not enough to recover.  This option writes "
-						 "pages when first modified after a checkpoint to WAL so full recovery "
-						 "is possible.")
-		},
-		&fullPageWrites,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_log_hints", PGC_POSTMASTER, WAL_SETTINGS,
-			gettext_noop("Writes full pages to WAL when first modified after a checkpoint, even for a non-critical modification."),
-			NULL
-		},
-		&wal_log_hints,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_init_zero", PGC_SUSET, WAL_SETTINGS,
-			gettext_noop("Writes zeroes to new WAL files before first use."),
-			NULL
-		},
-		&wal_init_zero,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_recycle", PGC_SUSET, WAL_SETTINGS,
-			gettext_noop("Recycles WAL files by renaming them."),
-			NULL
-		},
-		&wal_recycle,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_checkpoints", PGC_SIGHUP, LOGGING_WHAT,
-			gettext_noop("Logs each checkpoint."),
-			NULL
-		},
-		&log_checkpoints,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"trace_connection_negotiation", PGC_POSTMASTER, DEVELOPER_OPTIONS,
-			gettext_noop("Logs details of pre-authentication connection handshake."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_connection_negotiation,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_disconnections", PGC_SU_BACKEND, LOGGING_WHAT,
-			gettext_noop("Logs end of a session, including duration."),
-			NULL
-		},
-		&Log_disconnections,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_replication_commands", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Logs each replication command."),
-			NULL
-		},
-		&log_replication_commands,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_assertions", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows whether the running server has assertion checks enabled."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&assert_enabled,
-		DEFAULT_ASSERT_ENABLED,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"exit_on_error", PGC_USERSET, ERROR_HANDLING_OPTIONS,
-			gettext_noop("Terminate session on any error."),
-			NULL
-		},
-		&ExitOnAnyError,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"restart_after_crash", PGC_SIGHUP, ERROR_HANDLING_OPTIONS,
-			gettext_noop("Reinitialize server after backend crash."),
-			NULL
-		},
-		&restart_after_crash,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"remove_temp_files_after_crash", PGC_SIGHUP, DEVELOPER_OPTIONS,
-			gettext_noop("Remove temporary files after backend crash."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&remove_temp_files_after_crash,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"send_abort_for_crash", PGC_SIGHUP, DEVELOPER_OPTIONS,
-			gettext_noop("Send SIGABRT not SIGQUIT to child processes after backend crash."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&send_abort_for_crash,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"send_abort_for_kill", PGC_SIGHUP, DEVELOPER_OPTIONS,
-			gettext_noop("Send SIGABRT not SIGKILL to stuck child processes."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&send_abort_for_kill,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_duration", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Logs the duration of each completed SQL statement."),
-			NULL
-		},
-		&log_duration,
-		false,
-		NULL, NULL, NULL
-	},
-
-#ifdef DEBUG_NODE_TESTS_ENABLED
-	{
-		{"debug_copy_parse_plan_trees", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Set this to force all parse and plan trees to be passed through "
-						 "copyObject(), to facilitate catching errors and omissions in "
-						 "copyObject()."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Debug_copy_parse_plan_trees,
-/* support for legacy compile-time setting */
-#ifdef COPY_PARSE_PLAN_TREES
-		true,
-#else
-		false,
-#endif
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_write_read_parse_plan_trees", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Set this to force all parse and plan trees to be passed through "
-						 "outfuncs.c/readfuncs.c, to facilitate catching errors and omissions in "
-						 "those modules."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Debug_write_read_parse_plan_trees,
-/* support for legacy compile-time setting */
-#ifdef WRITE_READ_PARSE_PLAN_TREES
-		true,
-#else
-		false,
-#endif
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_raw_expression_coverage_test", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Set this to force all raw parse trees for DML statements to be scanned "
-						 "by raw_expression_tree_walker(), to facilitate catching errors and "
-						 "omissions in that function."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Debug_raw_expression_coverage_test,
-/* support for legacy compile-time setting */
-#ifdef RAW_EXPRESSION_COVERAGE_TEST
-		true,
-#else
-		false,
-#endif
-		NULL, NULL, NULL
-	},
-#endif							/* DEBUG_NODE_TESTS_ENABLED */
-
-	{
-		{"debug_print_parse", PGC_USERSET, LOGGING_WHAT,
-			gettext_noop("Logs each query's parse tree."),
-			NULL
-		},
-		&Debug_print_parse,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_print_rewritten", PGC_USERSET, LOGGING_WHAT,
-			gettext_noop("Logs each query's rewritten parse tree."),
-			NULL
-		},
-		&Debug_print_rewritten,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_print_plan", PGC_USERSET, LOGGING_WHAT,
-			gettext_noop("Logs each query's execution plan."),
-			NULL
-		},
-		&Debug_print_plan,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_pretty_print", PGC_USERSET, LOGGING_WHAT,
-			gettext_noop("Indents parse and plan tree displays."),
-			NULL
-		},
-		&Debug_pretty_print,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_parser_stats", PGC_SUSET, STATS_MONITORING,
-			gettext_noop("Writes parser performance statistics to the server log."),
-			NULL
-		},
-		&log_parser_stats,
-		false,
-		check_stage_log_stats, NULL, NULL
-	},
-
-	{
-		{"log_planner_stats", PGC_SUSET, STATS_MONITORING,
-			gettext_noop("Writes planner performance statistics to the server log."),
-			NULL
-		},
-		&log_planner_stats,
-		false,
-		check_stage_log_stats, NULL, NULL
-	},
-
-	{
-		{"log_executor_stats", PGC_SUSET, STATS_MONITORING,
-			gettext_noop("Writes executor performance statistics to the server log."),
-			NULL
-		},
-		&log_executor_stats,
-		false,
-		check_stage_log_stats, NULL, NULL
-	},
-
-	{
-		{"log_statement_stats", PGC_SUSET, STATS_MONITORING,
-			gettext_noop("Writes cumulative performance statistics to the server log."),
-			NULL
-		},
-		&log_statement_stats,
-		false,
-		check_log_stats, NULL, NULL
-	},
-
-#ifdef BTREE_BUILD_STATS
-	{
-		{"log_btree_build_stats", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Logs system resource usage statistics (memory and CPU) on various B-tree operations."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&log_btree_build_stats,
-		false,
-		NULL, NULL, NULL
-	},
-#endif
-
-	{
-		{"track_activities", PGC_SUSET, STATS_CUMULATIVE,
-			gettext_noop("Collects information about executing commands."),
-			gettext_noop("Enables the collection of information on the currently "
-						 "executing command of each session, along with "
-						 "the time at which that command began execution.")
-		},
-		&pgstat_track_activities,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"track_counts", PGC_SUSET, STATS_CUMULATIVE,
-			gettext_noop("Collects statistics on database activity."),
-			NULL
-		},
-		&pgstat_track_counts,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"track_cost_delay_timing", PGC_SUSET, STATS_CUMULATIVE,
-			gettext_noop("Collects timing statistics for cost-based vacuum delay."),
-			NULL
-		},
-		&track_cost_delay_timing,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"track_io_timing", PGC_SUSET, STATS_CUMULATIVE,
-			gettext_noop("Collects timing statistics for database I/O activity."),
-			NULL
-		},
-		&track_io_timing,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"track_wal_io_timing", PGC_SUSET, STATS_CUMULATIVE,
-			gettext_noop("Collects timing statistics for WAL I/O activity."),
-			NULL
-		},
-		&track_wal_io_timing,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"update_process_title", PGC_SUSET, PROCESS_TITLE,
-			gettext_noop("Updates the process title to show the active SQL command."),
-			gettext_noop("Enables updating of the process title every time a new SQL command is received by the server.")
-		},
-		&update_process_title,
-		DEFAULT_UPDATE_PROCESS_TITLE,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Starts the autovacuum subprocess."),
-			NULL
-		},
-		&autovacuum_start_daemon,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"trace_notify", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Generates debugging output for LISTEN and NOTIFY."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_notify,
-		false,
-		NULL, NULL, NULL
-	},
-
-#ifdef LOCK_DEBUG
-	{
-		{"trace_locks", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Emits information about lock usage."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_locks,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"trace_userlocks", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Emits information about user lock usage."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_userlocks,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"trace_lwlocks", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Emits information about lightweight lock usage."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_lwlocks,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_deadlocks", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Dumps information about all current locks when a deadlock timeout occurs."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Debug_deadlocks,
-		false,
-		NULL, NULL, NULL
-	},
-#endif
-
-	{
-		{"log_lock_waits", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Logs long lock waits."),
-			NULL
-		},
-		&log_lock_waits,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_lock_failures", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Logs lock failures."),
-			NULL
-		},
-		&log_lock_failures,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_recovery_conflict_waits", PGC_SIGHUP, LOGGING_WHAT,
-			gettext_noop("Logs standby recovery conflict waits."),
-			NULL
-		},
-		&log_recovery_conflict_waits,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_hostname", PGC_SIGHUP, LOGGING_WHAT,
-			gettext_noop("Logs the host name in the connection logs."),
-			gettext_noop("By default, connection logs only show the IP address "
-						 "of the connecting host. If you want them to show the host name you "
-						 "can turn this on, but depending on your host name resolution "
-						 "setup it might impose a non-negligible performance penalty.")
-		},
-		&log_hostname,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"transform_null_equals", PGC_USERSET, COMPAT_OPTIONS_OTHER,
-			gettext_noop("Treats \"expr=NULL\" as \"expr IS NULL\"."),
-			gettext_noop("When turned on, expressions of the form expr = NULL "
-						 "(or NULL = expr) are treated as expr IS NULL, that is, they "
-						 "return true if expr evaluates to the null value, and false "
-						 "otherwise. The correct behavior of expr = NULL is to always "
-						 "return null (unknown).")
-		},
-		&Transform_null_equals,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"default_transaction_read_only", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the default read-only status of new transactions."),
-			NULL,
-			GUC_REPORT
-		},
-		&DefaultXactReadOnly,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"transaction_read_only", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the current transaction's read-only status."),
-			NULL,
-			GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&XactReadOnly,
-		false,
-		check_transaction_read_only, NULL, NULL
-	},
-
-	{
-		{"default_transaction_deferrable", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the default deferrable status of new transactions."),
-			NULL
-		},
-		&DefaultXactDeferrable,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"transaction_deferrable", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Whether to defer a read-only serializable transaction until it can be executed with no possible serialization failures."),
-			NULL,
-			GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&XactDeferrable,
-		false,
-		check_transaction_deferrable, NULL, NULL
-	},
-
-	{
-		{"row_security", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Enables row security."),
-			gettext_noop("When enabled, row security will be applied to all users.")
-		},
-		&row_security,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"check_function_bodies", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Check routine bodies during CREATE FUNCTION and CREATE PROCEDURE."),
-			NULL
-		},
-		&check_function_bodies,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"array_nulls", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("Enables input of NULL elements in arrays."),
-			gettext_noop("When turned on, unquoted NULL in an array input "
-						 "value means a null value; "
-						 "otherwise it is taken literally.")
-		},
-		&Array_nulls,
-		true,
-		NULL, NULL, NULL
-	},
-
-	/*
-	 * WITH OIDS support, and consequently default_with_oids, was removed in
-	 * PostgreSQL 12, but we tolerate the parameter being set to false to
-	 * avoid unnecessarily breaking older dump files.
-	 */
-	{
-		{"default_with_oids", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("WITH OIDS is no longer supported; this can only be false."),
-			NULL,
-			GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE
-		},
-		&default_with_oids,
-		false,
-		check_default_with_oids, NULL, NULL
-	},
-
-	{
-		{"logging_collector", PGC_POSTMASTER, LOGGING_WHERE,
-			gettext_noop("Start a subprocess to capture stderr, csvlog and/or jsonlog into log files."),
-			NULL
-		},
-		&Logging_collector,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_truncate_on_rotation", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Truncate existing log files of same name during log rotation."),
-			NULL
-		},
-		&Log_truncate_on_rotation,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"trace_sort", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Emit information about resource usage in sorting."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&trace_sort,
-		false,
-		NULL, NULL, NULL
-	},
-
-#ifdef TRACE_SYNCSCAN
-	/* this is undocumented because not exposed in a standard build */
-	{
-		{"trace_syncscan", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Generate debugging output for synchronized scanning."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&trace_syncscan,
-		false,
-		NULL, NULL, NULL
-	},
-#endif
-
-#ifdef DEBUG_BOUNDED_SORT
-	/* this is undocumented because not exposed in a standard build */
-	{
-		{"optimize_bounded_sort", PGC_USERSET, QUERY_TUNING_METHOD,
-			gettext_noop("Enables bounded sorting using heap sort."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_EXPLAIN
-		},
-		&optimize_bounded_sort,
-		true,
-		NULL, NULL, NULL
-	},
-#endif
-
-#ifdef WAL_DEBUG
-	{
-		{"wal_debug", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Emit WAL-related debugging output."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&XLOG_DEBUG,
-		false,
-		NULL, NULL, NULL
-	},
-#endif
-
-	{
-		{"integer_datetimes", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows whether datetimes are integer based."),
-			NULL,
-			GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&integer_datetimes,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"krb_caseins_users", PGC_SIGHUP, CONN_AUTH_AUTH,
-			gettext_noop("Sets whether Kerberos and GSSAPI user names should be treated as case-insensitive."),
-			NULL
-		},
-		&pg_krb_caseins_users,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"gss_accept_delegation", PGC_SIGHUP, CONN_AUTH_AUTH,
-			gettext_noop("Sets whether GSSAPI delegation should be accepted from the client."),
-			NULL
-		},
-		&pg_gss_accept_delegation,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"escape_string_warning", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("Warn about backslash escapes in ordinary string literals."),
-			NULL
-		},
-		&escape_string_warning,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"standard_conforming_strings", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("Causes '...' strings to treat backslashes literally."),
-			NULL,
-			GUC_REPORT
-		},
-		&standard_conforming_strings,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"synchronize_seqscans", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("Enables synchronized sequential scans."),
-			NULL
-		},
-		&synchronize_seqscans,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_target_inclusive", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Sets whether to include or exclude transaction with recovery target."),
-			NULL
-		},
-		&recoveryTargetInclusive,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"summarize_wal", PGC_SIGHUP, WAL_SUMMARIZATION,
-			gettext_noop("Starts the WAL summarizer process to enable incremental backup."),
-			NULL
-		},
-		&summarize_wal,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"hot_standby", PGC_POSTMASTER, REPLICATION_STANDBY,
-			gettext_noop("Allows connections and queries during recovery."),
-			NULL
-		},
-		&EnableHotStandby,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"hot_standby_feedback", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Allows feedback from a hot standby to the primary that will avoid query conflicts."),
-			NULL
-		},
-		&hot_standby_feedback,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"in_hot_standby", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows whether hot standby is currently active."),
-			NULL,
-			GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&in_hot_standby_guc,
-		false,
-		NULL, NULL, show_in_hot_standby
-	},
-
-	{
-		{"allow_system_table_mods", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Allows modifications of the structure of system tables."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&allowSystemTableMods,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ignore_system_indexes", PGC_BACKEND, DEVELOPER_OPTIONS,
-			gettext_noop("Disables reading from system indexes."),
-			gettext_noop("It does not prevent updating the indexes, so it is safe "
-						 "to use.  The worst consequence is slowness."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&IgnoreSystemIndexes,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"allow_in_place_tablespaces", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Allows tablespaces directly inside pg_tblspc, for testing."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&allow_in_place_tablespaces,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"lo_compat_privileges", PGC_SUSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("Enables backward compatibility mode for privilege checks on large objects."),
-			gettext_noop("Skips privilege checks when reading or modifying large objects, "
-						 "for compatibility with PostgreSQL releases prior to 9.0.")
-		},
-		&lo_compat_privileges,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"quote_all_identifiers", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("When generating SQL fragments, quote all identifiers."),
-			NULL
-		},
-		&quote_all_identifiers,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"data_checksums", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows whether data checksums are turned on for this cluster."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED
-		},
-		&data_checksums,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"syslog_sequence_numbers", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Add sequence number to syslog messages to avoid duplicate suppression."),
-			NULL
-		},
-		&syslog_sequence_numbers,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"syslog_split_messages", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Split messages sent to syslog by lines and to fit into 1024 bytes."),
-			NULL
-		},
-		&syslog_split_messages,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"parallel_leader_participation", PGC_USERSET, RESOURCES_WORKER_PROCESSES,
-			gettext_noop("Controls whether Gather and Gather Merge also run subplans."),
-			gettext_noop("Should gather nodes also run subplans or just gather tuples?"),
-			GUC_EXPLAIN
-		},
-		&parallel_leader_participation,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Allow JIT compilation."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&jit_enabled,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_debugging_support", PGC_SU_BACKEND, DEVELOPER_OPTIONS,
-			gettext_noop("Register JIT-compiled functions with debugger."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&jit_debugging_support,
-		false,
-
-		/*
-		 * This is not guaranteed to be available, but given it's a developer
-		 * oriented option, it doesn't seem worth adding code checking
-		 * availability.
-		 */
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_dump_bitcode", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Write out LLVM bitcode to facilitate JIT debugging."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&jit_dump_bitcode,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_expressions", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Allow JIT compilation of expressions."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&jit_expressions,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_profiling_support", PGC_SU_BACKEND, DEVELOPER_OPTIONS,
-			gettext_noop("Register JIT-compiled functions with perf profiler."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&jit_profiling_support,
-		false,
-
-		/*
-		 * This is not guaranteed to be available, but given it's a developer
-		 * oriented option, it doesn't seem worth adding code checking
-		 * availability.
-		 */
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_tuple_deforming", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Allow JIT compilation of tuple deforming."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&jit_tuple_deforming,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"data_sync_retry", PGC_POSTMASTER, ERROR_HANDLING_OPTIONS,
-			gettext_noop("Whether to continue running after a failure to sync data files."),
-			NULL
-		},
-		&data_sync_retry,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_receiver_create_temp_slot", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets whether a WAL receiver should create a temporary replication slot if no permanent slot is configured."),
-			NULL
-		},
-		&wal_receiver_create_temp_slot,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"event_triggers", PGC_SUSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Enables event triggers."),
-			gettext_noop("When enabled, event triggers will fire for all applicable statements.")
-		},
-		&event_triggers,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"sync_replication_slots", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Enables a physical standby to synchronize logical failover replication slots from the primary server."),
-			NULL
-		},
-		&sync_replication_slots,
-		false,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"md5_password_warnings", PGC_USERSET, CONN_AUTH_AUTH,
-			gettext_noop("Enables deprecation warnings for MD5 passwords."),
-			NULL
-		},
-		&md5_password_warnings,
-		true,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_truncate", PGC_USERSET, VACUUM_DEFAULT,
-			gettext_noop("Enables vacuum to truncate empty pages at the end of the table."),
-			NULL
-		},
-		&vacuum_truncate,
-		true,
-		NULL, NULL, NULL
-	},
-
-	/* End-of-list marker */
-	{
-		{NULL, 0, 0, NULL, NULL}, NULL, false, NULL, NULL, NULL
-	}
-};
-
-
-struct config_int ConfigureNamesInt[] =
-{
-	{
-		{"archive_timeout", PGC_SIGHUP, WAL_ARCHIVING,
-			gettext_noop("Sets the amount of time to wait before forcing a "
-						 "switch to the next WAL file."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_S
-		},
-		&XLogArchiveTimeout,
-		0, 0, INT_MAX / 2,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"post_auth_delay", PGC_BACKEND, DEVELOPER_OPTIONS,
-			gettext_noop("Sets the amount of time to wait after "
-						 "authentication on connection startup."),
-			gettext_noop("This allows attaching a debugger to the process."),
-			GUC_NOT_IN_SAMPLE | GUC_UNIT_S
-		},
-		&PostAuthDelay,
-		0, 0, INT_MAX / 1000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"default_statistics_target", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Sets the default statistics target."),
-			gettext_noop("This applies to table columns that have not had a "
-						 "column-specific target set via ALTER TABLE SET STATISTICS.")
-		},
-		&default_statistics_target,
-		100, 1, MAX_STATISTICS_TARGET,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"from_collapse_limit", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Sets the FROM-list size beyond which subqueries "
-						 "are not collapsed."),
-			gettext_noop("The planner will merge subqueries into upper "
-						 "queries if the resulting FROM list would have no more than "
-						 "this many items."),
-			GUC_EXPLAIN
-		},
-		&from_collapse_limit,
-		8, 1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"join_collapse_limit", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Sets the FROM-list size beyond which JOIN "
-						 "constructs are not flattened."),
-			gettext_noop("The planner will flatten explicit JOIN "
-						 "constructs into lists of FROM items whenever a "
-						 "list of no more than this many items would result."),
-			GUC_EXPLAIN
-		},
-		&join_collapse_limit,
-		8, 1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"geqo_threshold", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("Sets the threshold of FROM items beyond which GEQO is used."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&geqo_threshold,
-		12, 2, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"geqo_effort", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("GEQO: effort is used to set the default for other GEQO parameters."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&Geqo_effort,
-		DEFAULT_GEQO_EFFORT, MIN_GEQO_EFFORT, MAX_GEQO_EFFORT,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"geqo_pool_size", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("GEQO: number of individuals in the population."),
-			gettext_noop("0 means use a suitable default value."),
-			GUC_EXPLAIN
-		},
-		&Geqo_pool_size,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"geqo_generations", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("GEQO: number of iterations of the algorithm."),
-			gettext_noop("0 means use a suitable default value."),
-			GUC_EXPLAIN
-		},
-		&Geqo_generations,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* This is PGC_SUSET to prevent hiding from log_lock_waits. */
-		{"deadlock_timeout", PGC_SUSET, LOCK_MANAGEMENT,
-			gettext_noop("Sets the time to wait on a lock before checking for deadlock."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&DeadlockTimeout,
-		1000, 1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_standby_archive_delay", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data."),
-			gettext_noop("-1 means wait forever."),
-			GUC_UNIT_MS
-		},
-		&max_standby_archive_delay,
-		30 * 1000, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_standby_streaming_delay", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data."),
-			gettext_noop("-1 means wait forever."),
-			GUC_UNIT_MS
-		},
-		&max_standby_streaming_delay,
-		30 * 1000, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_min_apply_delay", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the minimum delay for applying changes during recovery."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&recovery_min_apply_delay,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_receiver_status_interval", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the maximum interval between WAL receiver status reports to the sending server."),
-			NULL,
-			GUC_UNIT_S
-		},
-		&wal_receiver_status_interval,
-		10, 0, INT_MAX / 1000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_receiver_timeout", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the maximum wait time to receive data from the sending server."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_MS
-		},
-		&wal_receiver_timeout,
-		60 * 1000, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_connections", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the maximum number of concurrent connections."),
-			NULL
-		},
-		&MaxConnections,
-		100, 1, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* see max_connections */
-		{"superuser_reserved_connections", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the number of connection slots reserved for superusers."),
-			NULL
-		},
-		&SuperuserReservedConnections,
-		3, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"reserved_connections", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the number of connection slots reserved for roles "
-						 "with privileges of pg_use_reserved_connections."),
-			NULL
-		},
-		&ReservedConnections,
-		0, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"min_dynamic_shared_memory", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Amount of dynamic shared memory reserved at startup."),
-			NULL,
-			GUC_UNIT_MB
-		},
-		&min_dynamic_shared_memory,
-		0, 0, (int) Min((size_t) INT_MAX, SIZE_MAX / (1024 * 1024)),
-		NULL, NULL, NULL
-	},
-
-	/*
-	 * We sometimes multiply the number of shared buffers by two without
-	 * checking for overflow, so we mustn't allow more than INT_MAX / 2.
-	 */
-	{
-		{"shared_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the number of shared memory buffers used by the server."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&NBuffers,
-		16384, 16, INT_MAX / 2,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_buffer_usage_limit", PGC_USERSET, RESOURCES_MEM,
-			gettext_noop("Sets the buffer pool size for VACUUM, ANALYZE, and autovacuum."),
-			NULL,
-			GUC_UNIT_KB
-		},
-		&VacuumBufferUsageLimit,
-		2048, 0, MAX_BAS_VAC_RING_SIZE_KB,
-		check_vacuum_buffer_usage_limit, NULL, NULL
-	},
-
-	{
-		{"shared_memory_size", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the size of the server's main shared memory area (rounded up to the nearest MB)."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_UNIT_MB | GUC_RUNTIME_COMPUTED
-		},
-		&shared_memory_size_mb,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"shared_memory_size_in_huge_pages", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the number of huge pages needed for the main shared memory area."),
-			gettext_noop("-1 means huge pages are not supported."),
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED
-		},
-		&shared_memory_size_in_huge_pages,
-		-1, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"num_os_semaphores", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the number of semaphores required for the server."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED
-		},
-		&num_os_semaphores,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"commit_timestamp_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the commit timestamp cache."),
-			gettext_noop("0 means use a fraction of \"shared_buffers\"."),
-			GUC_UNIT_BLOCKS
-		},
-		&commit_timestamp_buffers,
-		0, 0, SLRU_MAX_ALLOWED_BUFFERS,
-		check_commit_ts_buffers, NULL, NULL
-	},
-
-	{
-		{"multixact_member_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the MultiXact member cache."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&multixact_member_buffers,
-		32, 16, SLRU_MAX_ALLOWED_BUFFERS,
-		check_multixact_member_buffers, NULL, NULL
-	},
-
-	{
-		{"multixact_offset_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the MultiXact offset cache."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&multixact_offset_buffers,
-		16, 16, SLRU_MAX_ALLOWED_BUFFERS,
-		check_multixact_offset_buffers, NULL, NULL
-	},
-
-	{
-		{"notify_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the LISTEN/NOTIFY message cache."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&notify_buffers,
-		16, 16, SLRU_MAX_ALLOWED_BUFFERS,
-		check_notify_buffers, NULL, NULL
-	},
-
-	{
-		{"serializable_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the serializable transaction cache."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&serializable_buffers,
-		32, 16, SLRU_MAX_ALLOWED_BUFFERS,
-		check_serial_buffers, NULL, NULL
-	},
-
-	{
-		{"subtransaction_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the subtransaction cache."),
-			gettext_noop("0 means use a fraction of \"shared_buffers\"."),
-			GUC_UNIT_BLOCKS
-		},
-		&subtransaction_buffers,
-		0, 0, SLRU_MAX_ALLOWED_BUFFERS,
-		check_subtrans_buffers, NULL, NULL
-	},
-
-	{
-		{"transaction_buffers", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the size of the dedicated buffer pool used for the transaction status cache."),
-			gettext_noop("0 means use a fraction of \"shared_buffers\"."),
-			GUC_UNIT_BLOCKS
-		},
-		&transaction_buffers,
-		0, 0, SLRU_MAX_ALLOWED_BUFFERS,
-		check_transaction_buffers, NULL, NULL
-	},
-
-	{
-		{"temp_buffers", PGC_USERSET, RESOURCES_MEM,
-			gettext_noop("Sets the maximum number of temporary buffers used by each session."),
-			NULL,
-			GUC_UNIT_BLOCKS | GUC_EXPLAIN
-		},
-		&num_temp_buffers,
-		1024, 100, INT_MAX / 2,
-		check_temp_buffers, NULL, NULL
-	},
-
-	{
-		{"port", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the TCP port the server listens on."),
-			NULL
-		},
-		&PostPortNumber,
-		DEF_PGPORT, 1, 65535,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"unix_socket_permissions", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the access permissions of the Unix-domain socket."),
-			gettext_noop("Unix-domain sockets use the usual Unix file system "
-						 "permission set. The parameter value is expected "
-						 "to be a numeric mode specification in the form "
-						 "accepted by the chmod and umask system calls. "
-						 "(To use the customary octal format the number must "
-						 "start with a 0 (zero).)")
-		},
-		&Unix_socket_permissions,
-		0777, 0000, 0777,
-		NULL, NULL, show_unix_socket_permissions
-	},
-
-	{
-		{"log_file_mode", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the file permissions for log files."),
-			gettext_noop("The parameter value is expected "
-						 "to be a numeric mode specification in the form "
-						 "accepted by the chmod and umask system calls. "
-						 "(To use the customary octal format the number must "
-						 "start with a 0 (zero).)")
-		},
-		&Log_file_mode,
-		0600, 0000, 0777,
-		NULL, NULL, show_log_file_mode
-	},
-
-	{
-		{"data_directory_mode", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the mode of the data directory."),
-			gettext_noop("The parameter value is a numeric mode specification "
-						 "in the form accepted by the chmod and umask system "
-						 "calls. (To use the customary octal format the number "
-						 "must start with a 0 (zero).)"),
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED
-		},
-		&data_directory_mode,
-		0700, 0000, 0777,
-		NULL, NULL, show_data_directory_mode
-	},
-
-	{
-		{"work_mem", PGC_USERSET, RESOURCES_MEM,
-			gettext_noop("Sets the maximum memory to be used for query workspaces."),
-			gettext_noop("This much memory can be used by each internal "
-						 "sort operation and hash table before switching to "
-						 "temporary disk files."),
-			GUC_UNIT_KB | GUC_EXPLAIN
-		},
-		&work_mem,
-		4096, 64, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	/*
-	 * Dynamic shared memory has a higher overhead than local memory contexts,
-	 * so when testing low-memory scenarios that could use shared memory, the
-	 * recommended minimum is 1MB.
-	 */
-	{
-		{"maintenance_work_mem", PGC_USERSET, RESOURCES_MEM,
-			gettext_noop("Sets the maximum memory to be used for maintenance operations."),
-			gettext_noop("This includes operations such as VACUUM and CREATE INDEX."),
-			GUC_UNIT_KB
-		},
-		&maintenance_work_mem,
-		65536, 64, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"logical_decoding_work_mem", PGC_USERSET, RESOURCES_MEM,
-			gettext_noop("Sets the maximum memory to be used for logical decoding."),
-			gettext_noop("This much memory can be used by each internal "
-						 "reorder buffer before spilling to disk."),
-			GUC_UNIT_KB
-		},
-		&logical_decoding_work_mem,
-		65536, 64, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	/*
-	 * We use the hopefully-safely-small value of 100kB as the compiled-in
-	 * default for max_stack_depth.  InitializeGUCOptions will increase it if
-	 * possible, depending on the actual platform-specific stack limit.
-	 */
-	{
-		{"max_stack_depth", PGC_SUSET, RESOURCES_MEM,
-			gettext_noop("Sets the maximum stack depth, in kilobytes."),
-			NULL,
-			GUC_UNIT_KB
-		},
-		&max_stack_depth,
-		100, 100, MAX_KILOBYTES,
-		check_max_stack_depth, assign_max_stack_depth, NULL
-	},
-
-	{
-		{"temp_file_limit", PGC_SUSET, RESOURCES_DISK,
-			gettext_noop("Limits the total size of all temporary files used by each process."),
-			gettext_noop("-1 means no limit."),
-			GUC_UNIT_KB
-		},
-		&temp_file_limit,
-		-1, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_cost_page_hit", PGC_USERSET, VACUUM_COST_DELAY,
-			gettext_noop("Vacuum cost for a page found in the buffer cache."),
-			NULL
-		},
-		&VacuumCostPageHit,
-		1, 0, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_cost_page_miss", PGC_USERSET, VACUUM_COST_DELAY,
-			gettext_noop("Vacuum cost for a page not found in the buffer cache."),
-			NULL
-		},
-		&VacuumCostPageMiss,
-		2, 0, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_cost_page_dirty", PGC_USERSET, VACUUM_COST_DELAY,
-			gettext_noop("Vacuum cost for a page dirtied by vacuum."),
-			NULL
-		},
-		&VacuumCostPageDirty,
-		20, 0, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_cost_limit", PGC_USERSET, VACUUM_COST_DELAY,
-			gettext_noop("Vacuum cost amount available before napping."),
-			NULL
-		},
-		&VacuumCostLimit,
-		200, 1, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_cost_limit", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Vacuum cost amount available before napping, for autovacuum."),
-			gettext_noop("-1 means use \"vacuum_cost_limit\".")
-		},
-		&autovacuum_vac_cost_limit,
-		-1, -1, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_files_per_process", PGC_POSTMASTER, RESOURCES_KERNEL,
-			gettext_noop("Sets the maximum number of files each server process is allowed to open simultaneously."),
-			NULL
-		},
-		&max_files_per_process,
-		1000, 64, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	/*
-	 * See also CheckRequiredParameterValues() if this parameter changes
-	 */
-	{
-		{"max_prepared_transactions", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Sets the maximum number of simultaneously prepared transactions."),
-			NULL
-		},
-		&max_prepared_xacts,
-		0, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-#ifdef LOCK_DEBUG
-	{
-		{"trace_lock_oidmin", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Sets the minimum OID of tables for tracking locks."),
-			gettext_noop("Is used to avoid output on system tables."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_lock_oidmin,
-		FirstNormalObjectId, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"trace_lock_table", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Sets the OID of the table with unconditionally lock tracing."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&Trace_lock_table,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-#endif
-
-	{
-		{"statement_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the maximum allowed duration of any statement."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_MS
-		},
-		&StatementTimeout,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"lock_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the maximum allowed duration of any wait for a lock."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_MS
-		},
-		&LockTimeout,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"idle_in_transaction_session_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the maximum allowed idle time between queries, when in a transaction."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_MS
-		},
-		&IdleInTransactionSessionTimeout,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"transaction_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the maximum allowed duration of any transaction within a session (not a prepared transaction)."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_MS
-		},
-		&TransactionTimeout,
-		0, 0, INT_MAX,
-		NULL, assign_transaction_timeout, NULL
-	},
-
-	{
-		{"idle_session_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the maximum allowed idle time between queries, when not in a transaction."),
-			gettext_noop("0 disables the timeout."),
-			GUC_UNIT_MS
-		},
-		&IdleSessionTimeout,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_freeze_min_age", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Minimum age at which VACUUM should freeze a table row."),
-			NULL
-		},
-		&vacuum_freeze_min_age,
-		50000000, 0, 1000000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_freeze_table_age", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Age at which VACUUM should scan whole table to freeze tuples."),
-			NULL
-		},
-		&vacuum_freeze_table_age,
-		150000000, 0, 2000000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_multixact_freeze_min_age", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Minimum age at which VACUUM should freeze a MultiXactId in a table row."),
-			NULL
-		},
-		&vacuum_multixact_freeze_min_age,
-		5000000, 0, 1000000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_multixact_freeze_table_age", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Multixact age at which VACUUM should scan whole table to freeze tuples."),
-			NULL
-		},
-		&vacuum_multixact_freeze_table_age,
-		150000000, 0, 2000000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_failsafe_age", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Age at which VACUUM should trigger failsafe to avoid a wraparound outage."),
-			NULL
-		},
-		&vacuum_failsafe_age,
-		1600000000, 0, 2100000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_multixact_failsafe_age", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Multixact age at which VACUUM should trigger failsafe to avoid a wraparound outage."),
-			NULL
-		},
-		&vacuum_multixact_failsafe_age,
-		1600000000, 0, 2100000000,
-		NULL, NULL, NULL
-	},
-
-	/*
-	 * See also CheckRequiredParameterValues() if this parameter changes
-	 */
-	{
-		{"max_locks_per_transaction", PGC_POSTMASTER, LOCK_MANAGEMENT,
-			gettext_noop("Sets the maximum number of locks per transaction."),
-			gettext_noop("The shared lock table is sized on the assumption that at most "
-						 "\"max_locks_per_transaction\" objects per server process or prepared "
-						 "transaction will need to be locked at any one time.")
-		},
-		&max_locks_per_xact,
-		64, 10, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_pred_locks_per_transaction", PGC_POSTMASTER, LOCK_MANAGEMENT,
-			gettext_noop("Sets the maximum number of predicate locks per transaction."),
-			gettext_noop("The shared predicate lock table is sized on the assumption that "
-						 "at most \"max_pred_locks_per_transaction\" objects per server process "
-						 "or prepared transaction will need to be locked at any one time.")
-		},
-		&max_predicate_locks_per_xact,
-		64, 10, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_pred_locks_per_relation", PGC_SIGHUP, LOCK_MANAGEMENT,
-			gettext_noop("Sets the maximum number of predicate-locked pages and tuples per relation."),
-			gettext_noop("If more than this total of pages and tuples in the same relation are locked "
-						 "by a connection, those locks are replaced by a relation-level lock.")
-		},
-		&max_predicate_locks_per_relation,
-		-2, INT_MIN, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_pred_locks_per_page", PGC_SIGHUP, LOCK_MANAGEMENT,
-			gettext_noop("Sets the maximum number of predicate-locked tuples per page."),
-			gettext_noop("If more than this number of tuples on the same page are locked "
-						 "by a connection, those locks are replaced by a page-level lock.")
-		},
-		&max_predicate_locks_per_page,
-		2, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"authentication_timeout", PGC_SIGHUP, CONN_AUTH_AUTH,
-			gettext_noop("Sets the maximum allowed time to complete client authentication."),
-			NULL,
-			GUC_UNIT_S
-		},
-		&AuthenticationTimeout,
-		60, 1, 600,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* Not for general use */
-		{"pre_auth_delay", PGC_SIGHUP, DEVELOPER_OPTIONS,
-			gettext_noop("Sets the amount of time to wait before "
-						 "authentication on connection startup."),
-			gettext_noop("This allows attaching a debugger to the process."),
-			GUC_NOT_IN_SAMPLE | GUC_UNIT_S
-		},
-		&PreAuthDelay,
-		0, 0, 60,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_notify_queue_pages", PGC_POSTMASTER, RESOURCES_DISK,
-			gettext_noop("Sets the maximum number of allocated pages for NOTIFY / LISTEN queue."),
-			NULL
-		},
-		&max_notify_queue_pages,
-		1048576, 64, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_decode_buffer_size", PGC_POSTMASTER, WAL_RECOVERY,
-			gettext_noop("Buffer size for reading ahead in the WAL during recovery."),
-			gettext_noop("Maximum distance to read ahead in the WAL to prefetch referenced data blocks."),
-			GUC_UNIT_BYTE
-		},
-		&wal_decode_buffer_size,
-		512 * 1024, 64 * 1024, MaxAllocSize,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_keep_size", PGC_SIGHUP, REPLICATION_SENDING,
-			gettext_noop("Sets the size of WAL files held for standby servers."),
-			NULL,
-			GUC_UNIT_MB
-		},
-		&wal_keep_size_mb,
-		0, 0, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"min_wal_size", PGC_SIGHUP, WAL_CHECKPOINTS,
-			gettext_noop("Sets the minimum size to shrink the WAL to."),
-			NULL,
-			GUC_UNIT_MB
-		},
-		&min_wal_size_mb,
-		DEFAULT_MIN_WAL_SEGS * (DEFAULT_XLOG_SEG_SIZE / (1024 * 1024)), 2, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_wal_size", PGC_SIGHUP, WAL_CHECKPOINTS,
-			gettext_noop("Sets the WAL size that triggers a checkpoint."),
-			NULL,
-			GUC_UNIT_MB
-		},
-		&max_wal_size_mb,
-		DEFAULT_MAX_WAL_SEGS * (DEFAULT_XLOG_SEG_SIZE / (1024 * 1024)), 2, MAX_KILOBYTES,
-		NULL, assign_max_wal_size, NULL
-	},
-
-	{
-		{"checkpoint_timeout", PGC_SIGHUP, WAL_CHECKPOINTS,
-			gettext_noop("Sets the maximum time between automatic WAL checkpoints."),
-			NULL,
-			GUC_UNIT_S
-		},
-		&CheckPointTimeout,
-		300, 30, 86400,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"checkpoint_warning", PGC_SIGHUP, WAL_CHECKPOINTS,
-			gettext_noop("Sets the maximum time before warning if checkpoints "
-						 "triggered by WAL volume happen too frequently."),
-			gettext_noop("Write a message to the server log if checkpoints "
-						 "caused by the filling of WAL segment files happen more "
-						 "frequently than this amount of time. "
-						 "0 disables the warning."),
-			GUC_UNIT_S
-		},
-		&CheckPointWarning,
-		30, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"checkpoint_flush_after", PGC_SIGHUP, WAL_CHECKPOINTS,
-			gettext_noop("Number of pages after which previously performed writes are flushed to disk."),
-			gettext_noop("0 disables forced writeback."),
-			GUC_UNIT_BLOCKS
-		},
-		&checkpoint_flush_after,
-		DEFAULT_CHECKPOINT_FLUSH_AFTER, 0, WRITEBACK_MAX_PENDING_FLUSHES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_buffers", PGC_POSTMASTER, WAL_SETTINGS,
-			gettext_noop("Sets the number of disk-page buffers in shared memory for WAL."),
-			gettext_noop("-1 means use a fraction of \"shared_buffers\"."),
-			GUC_UNIT_XBLOCKS
-		},
-		&XLOGbuffers,
-		-1, -1, (INT_MAX / XLOG_BLCKSZ),
-		check_wal_buffers, NULL, NULL
-	},
-
-	{
-		{"wal_writer_delay", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Time between WAL flushes performed in the WAL writer."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&WalWriterDelay,
-		200, 1, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_writer_flush_after", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Amount of WAL written out by WAL writer that triggers a flush."),
-			NULL,
-			GUC_UNIT_XBLOCKS
-		},
-		&WalWriterFlushAfter,
-		DEFAULT_WAL_WRITER_FLUSH_AFTER, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_skip_threshold", PGC_USERSET, WAL_SETTINGS,
-			gettext_noop("Minimum size of new file to fsync instead of writing WAL."),
-			NULL,
-			GUC_UNIT_KB
-		},
-		&wal_skip_threshold,
-		2048, 0, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_wal_senders", PGC_POSTMASTER, REPLICATION_SENDING,
-			gettext_noop("Sets the maximum number of simultaneously running WAL sender processes."),
-			NULL
-		},
-		&max_wal_senders,
-		10, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* see max_wal_senders */
-		{"max_replication_slots", PGC_POSTMASTER, REPLICATION_SENDING,
-			gettext_noop("Sets the maximum number of simultaneously defined replication slots."),
-			NULL
-		},
-		&max_replication_slots,
-		10, 0, MAX_BACKENDS /* XXX? */ ,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_slot_wal_keep_size", PGC_SIGHUP, REPLICATION_SENDING,
-			gettext_noop("Sets the maximum WAL size that can be reserved by replication slots."),
-			gettext_noop("Replication slots will be marked as failed, and segments released "
-						 "for deletion or recycling, if this much space is occupied by WAL on disk. "
-						 "-1 means no maximum."),
-			GUC_UNIT_MB
-		},
-		&max_slot_wal_keep_size_mb,
-		-1, -1, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_sender_timeout", PGC_USERSET, REPLICATION_SENDING,
-			gettext_noop("Sets the maximum time to wait for WAL replication."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&wal_sender_timeout,
-		60 * 1000, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"idle_replication_slot_timeout", PGC_SIGHUP, REPLICATION_SENDING,
-			gettext_noop("Sets the duration a replication slot can remain idle before "
-						 "it is invalidated."),
-			NULL,
-			GUC_UNIT_S
-		},
-		&idle_replication_slot_timeout_secs,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"commit_delay", PGC_SUSET, WAL_SETTINGS,
-			gettext_noop("Sets the delay in microseconds between transaction commit and "
-						 "flushing WAL to disk."),
-			NULL
-			/* we have no microseconds designation, so can't supply units here */
-		},
-		&CommitDelay,
-		0, 0, 100000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"commit_siblings", PGC_USERSET, WAL_SETTINGS,
-			gettext_noop("Sets the minimum number of concurrent open transactions "
-						 "required before performing \"commit_delay\"."),
-			NULL
-		},
-		&CommitSiblings,
-		5, 0, 1000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"extra_float_digits", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the number of digits displayed for floating-point values."),
-			gettext_noop("This affects real, double precision, and geometric data types. "
-						 "A zero or negative parameter value is added to the standard "
-						 "number of digits (FLT_DIG or DBL_DIG as appropriate). "
-						 "Any value greater than zero selects precise output mode.")
-		},
-		&extra_float_digits,
-		1, -15, 3,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_min_duration_sample", PGC_SUSET, LOGGING_WHEN,
-			gettext_noop("Sets the minimum execution time above which "
-						 "a sample of statements will be logged."
-						 " Sampling is determined by \"log_statement_sample_rate\"."),
-			gettext_noop("-1 disables sampling. 0 means sample all statements."),
-			GUC_UNIT_MS
-		},
-		&log_min_duration_sample,
-		-1, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_min_duration_statement", PGC_SUSET, LOGGING_WHEN,
-			gettext_noop("Sets the minimum execution time above which "
-						 "all statements will be logged."),
-			gettext_noop("-1 disables logging statement durations. 0 means log all statement durations."),
-			GUC_UNIT_MS
-		},
-		&log_min_duration_statement,
-		-1, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_autovacuum_min_duration", PGC_SIGHUP, LOGGING_WHAT,
-			gettext_noop("Sets the minimum execution time above which "
-						 "autovacuum actions will be logged."),
-			gettext_noop("-1 disables logging autovacuum actions. 0 means log all autovacuum actions."),
-			GUC_UNIT_MS
-		},
-		&Log_autovacuum_min_duration,
-		600000, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_parameter_max_length", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Sets the maximum length in bytes of data logged for bind "
-						 "parameter values when logging statements."),
-			gettext_noop("-1 means log values in full."),
-			GUC_UNIT_BYTE
-		},
-		&log_parameter_max_length,
-		-1, -1, INT_MAX / 2,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_parameter_max_length_on_error", PGC_USERSET, LOGGING_WHAT,
-			gettext_noop("Sets the maximum length in bytes of data logged for bind "
-						 "parameter values when logging statements, on error."),
-			gettext_noop("-1 means log values in full."),
-			GUC_UNIT_BYTE
-		},
-		&log_parameter_max_length_on_error,
-		0, -1, INT_MAX / 2,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bgwriter_delay", PGC_SIGHUP, RESOURCES_BGWRITER,
-			gettext_noop("Background writer sleep time between rounds."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&BgWriterDelay,
-		200, 10, 10000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bgwriter_lru_maxpages", PGC_SIGHUP, RESOURCES_BGWRITER,
-			gettext_noop("Background writer maximum number of LRU pages to flush per round."),
-			gettext_noop("0 disables background writing.")
-		},
-		&bgwriter_lru_maxpages,
-		100, 0, INT_MAX / 2,	/* Same upper limit as shared_buffers */
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bgwriter_flush_after", PGC_SIGHUP, RESOURCES_BGWRITER,
-			gettext_noop("Number of pages after which previously performed writes are flushed to disk."),
-			gettext_noop("0 disables forced writeback."),
-			GUC_UNIT_BLOCKS
-		},
-		&bgwriter_flush_after,
-		DEFAULT_BGWRITER_FLUSH_AFTER, 0, WRITEBACK_MAX_PENDING_FLUSHES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"effective_io_concurrency", PGC_USERSET, RESOURCES_IO,
-			gettext_noop("Number of simultaneous requests that can be handled efficiently by the disk subsystem."),
-			gettext_noop("0 disables simultaneous requests."),
-			GUC_EXPLAIN
-		},
-		&effective_io_concurrency,
-		DEFAULT_EFFECTIVE_IO_CONCURRENCY, 0, MAX_IO_CONCURRENCY,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"maintenance_io_concurrency", PGC_USERSET, RESOURCES_IO,
-			gettext_noop("A variant of \"effective_io_concurrency\" that is used for maintenance work."),
-			gettext_noop("0 disables simultaneous requests."),
-			GUC_EXPLAIN
-		},
-		&maintenance_io_concurrency,
-		DEFAULT_MAINTENANCE_IO_CONCURRENCY, 0, MAX_IO_CONCURRENCY,
-		NULL, assign_maintenance_io_concurrency, NULL
-	},
-
-	{
-		{"io_max_combine_limit", PGC_POSTMASTER, RESOURCES_IO,
-			gettext_noop("Server-wide limit that clamps io_combine_limit."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&io_max_combine_limit,
-		DEFAULT_IO_COMBINE_LIMIT, 1, MAX_IO_COMBINE_LIMIT,
-		NULL, assign_io_max_combine_limit, NULL
-	},
-
-	{
-		{"io_combine_limit", PGC_USERSET, RESOURCES_IO,
-			gettext_noop("Limit on the size of data reads and writes."),
-			NULL,
-			GUC_UNIT_BLOCKS
-		},
-		&io_combine_limit_guc,
-		DEFAULT_IO_COMBINE_LIMIT, 1, MAX_IO_COMBINE_LIMIT,
-		NULL, assign_io_combine_limit, NULL
-	},
-
-	{
-		{"io_max_concurrency", PGC_POSTMASTER, RESOURCES_IO,
-			gettext_noop("Max number of IOs that one process can execute simultaneously."),
-			NULL
-		},
-		&io_max_concurrency,
-		-1, -1, 1024,
-		check_io_max_concurrency, NULL, NULL
-	},
-
-	{
-		{"io_workers", PGC_SIGHUP, RESOURCES_IO,
-			gettext_noop("Number of IO worker processes, for io_method=worker."),
-			NULL
-		},
-		&io_workers,
-		3, 1, MAX_IO_WORKERS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"backend_flush_after", PGC_USERSET, RESOURCES_IO,
-			gettext_noop("Number of pages after which previously performed writes are flushed to disk."),
-			gettext_noop("0 disables forced writeback."),
-			GUC_UNIT_BLOCKS
-		},
-		&backend_flush_after,
-		DEFAULT_BACKEND_FLUSH_AFTER, 0, WRITEBACK_MAX_PENDING_FLUSHES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_worker_processes", PGC_POSTMASTER, RESOURCES_WORKER_PROCESSES,
-			gettext_noop("Maximum number of concurrent worker processes."),
-			NULL
-		},
-		&max_worker_processes,
-		8, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_logical_replication_workers", PGC_POSTMASTER, REPLICATION_SUBSCRIBERS,
-			gettext_noop("Maximum number of logical replication worker processes."),
-			NULL
-		},
-		&max_logical_replication_workers,
-		4, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_sync_workers_per_subscription", PGC_SIGHUP, REPLICATION_SUBSCRIBERS,
-			gettext_noop("Maximum number of table synchronization workers per subscription."),
-			NULL
-		},
-		&max_sync_workers_per_subscription,
-		2, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_parallel_apply_workers_per_subscription", PGC_SIGHUP, REPLICATION_SUBSCRIBERS,
-			gettext_noop("Maximum number of parallel apply workers per subscription."),
-			NULL
-		},
-		&max_parallel_apply_workers_per_subscription,
-		2, 0, MAX_PARALLEL_WORKER_LIMIT,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_active_replication_origins", PGC_POSTMASTER, REPLICATION_SUBSCRIBERS,
-			gettext_noop("Sets the maximum number of active replication origins."),
-			NULL
-		},
-		&max_active_replication_origins,
-		10, 0, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_rotation_age", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the amount of time to wait before forcing "
-						 "log file rotation."),
-			gettext_noop("0 disables time-based creation of new log files."),
-			GUC_UNIT_MIN
-		},
-		&Log_RotationAge,
-		HOURS_PER_DAY * MINS_PER_HOUR, 0, INT_MAX / SECS_PER_MINUTE,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_rotation_size", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the maximum size a log file can reach before "
-						 "being rotated."),
-			gettext_noop("0 disables size-based creation of new log files."),
-			GUC_UNIT_KB
-		},
-		&Log_RotationSize,
-		10 * 1024, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_function_args", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the maximum number of function arguments."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&max_function_args,
-		FUNC_MAX_ARGS, FUNC_MAX_ARGS, FUNC_MAX_ARGS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_index_keys", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the maximum number of index keys."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&max_index_keys,
-		INDEX_MAX_KEYS, INDEX_MAX_KEYS, INDEX_MAX_KEYS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_identifier_length", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the maximum identifier length."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&max_identifier_length,
-		NAMEDATALEN - 1, NAMEDATALEN - 1, NAMEDATALEN - 1,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"block_size", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the size of a disk block."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&block_size,
-		BLCKSZ, BLCKSZ, BLCKSZ,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"segment_size", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the number of pages per disk file."),
-			NULL,
-			GUC_UNIT_BLOCKS | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&segment_size,
-		RELSEG_SIZE, RELSEG_SIZE, RELSEG_SIZE,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_block_size", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the block size in the write ahead log."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&wal_block_size,
-		XLOG_BLCKSZ, XLOG_BLCKSZ, XLOG_BLCKSZ,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_retrieve_retry_interval", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the time to wait before retrying to retrieve WAL "
-						 "after a failed attempt."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&wal_retrieve_retry_interval,
-		5000, 1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_segment_size", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the size of write ahead log segments."),
-			NULL,
-			GUC_UNIT_BYTE | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_RUNTIME_COMPUTED
-		},
-		&wal_segment_size,
-		DEFAULT_XLOG_SEG_SIZE, WalSegMinSize, WalSegMaxSize,
-		check_wal_segment_size, NULL, NULL
-	},
-
-	{
-		{"wal_summary_keep_time", PGC_SIGHUP, WAL_SUMMARIZATION,
-			gettext_noop("Time for which WAL summary files should be kept."),
-			gettext_noop("0 disables automatic summary file deletion."),
-			GUC_UNIT_MIN,
-		},
-		&wal_summary_keep_time,
-		10 * HOURS_PER_DAY * MINS_PER_HOUR /* 10 days */ , 0, INT_MAX / SECS_PER_MINUTE,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_naptime", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Time to sleep between autovacuum runs."),
-			NULL,
-			GUC_UNIT_S
-		},
-		&autovacuum_naptime,
-		60, 1, INT_MAX / 1000,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_threshold", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Minimum number of tuple updates or deletes prior to vacuum."),
-			NULL
-		},
-		&autovacuum_vac_thresh,
-		50, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_max_threshold", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Maximum number of tuple updates or deletes prior to vacuum."),
-			gettext_noop("-1 disables the maximum threshold.")
-		},
-		&autovacuum_vac_max_thresh,
-		100000000, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_insert_threshold", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Minimum number of tuple inserts prior to vacuum."),
-			gettext_noop("-1 disables insert vacuums.")
-		},
-		&autovacuum_vac_ins_thresh,
-		1000, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_analyze_threshold", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Minimum number of tuple inserts, updates, or deletes prior to analyze."),
-			NULL
-		},
-		&autovacuum_anl_thresh,
-		50, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* see varsup.c for why this is PGC_POSTMASTER not PGC_SIGHUP */
-		{"autovacuum_freeze_max_age", PGC_POSTMASTER, VACUUM_AUTOVACUUM,
-			gettext_noop("Age at which to autovacuum a table to prevent transaction ID wraparound."),
-			NULL
-		},
-		&autovacuum_freeze_max_age,
-
-		/* see vacuum_failsafe_age if you change the upper-limit value. */
-		200000000, 100000, 2000000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* see multixact.c for why this is PGC_POSTMASTER not PGC_SIGHUP */
-		{"autovacuum_multixact_freeze_max_age", PGC_POSTMASTER, VACUUM_AUTOVACUUM,
-			gettext_noop("Multixact age at which to autovacuum a table to prevent multixact wraparound."),
-			NULL
-		},
-		&autovacuum_multixact_freeze_max_age,
-		400000000, 10000, 2000000000,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* see max_connections */
-		{"autovacuum_worker_slots", PGC_POSTMASTER, VACUUM_AUTOVACUUM,
-			gettext_noop("Sets the number of backend slots to allocate for autovacuum workers."),
-			NULL
-		},
-		&autovacuum_worker_slots,
-		16, 1, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_max_workers", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Sets the maximum number of simultaneously running autovacuum worker processes."),
-			NULL
-		},
-		&autovacuum_max_workers,
-		3, 1, MAX_BACKENDS,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_parallel_maintenance_workers", PGC_USERSET, RESOURCES_WORKER_PROCESSES,
-			gettext_noop("Sets the maximum number of parallel processes per maintenance operation."),
-			NULL
-		},
-		&max_parallel_maintenance_workers,
-		2, 0, MAX_PARALLEL_WORKER_LIMIT,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_parallel_workers_per_gather", PGC_USERSET, RESOURCES_WORKER_PROCESSES,
-			gettext_noop("Sets the maximum number of parallel processes per executor node."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&max_parallel_workers_per_gather,
-		2, 0, MAX_PARALLEL_WORKER_LIMIT,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"max_parallel_workers", PGC_USERSET, RESOURCES_WORKER_PROCESSES,
-			gettext_noop("Sets the maximum number of parallel workers that can be active at one time."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&max_parallel_workers,
-		8, 0, MAX_PARALLEL_WORKER_LIMIT,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_work_mem", PGC_SIGHUP, RESOURCES_MEM,
-			gettext_noop("Sets the maximum memory to be used by each autovacuum worker process."),
-			gettext_noop("-1 means use \"maintenance_work_mem\"."),
-			GUC_UNIT_KB
-		},
-		&autovacuum_work_mem,
-		-1, -1, MAX_KILOBYTES,
-		check_autovacuum_work_mem, NULL, NULL
-	},
-
-	{
-		{"tcp_keepalives_idle", PGC_USERSET, CONN_AUTH_TCP,
-			gettext_noop("Time between issuing TCP keepalives."),
-			gettext_noop("0 means use the system default."),
-			GUC_UNIT_S
-		},
-		&tcp_keepalives_idle,
-		0, 0, INT_MAX,
-		NULL, assign_tcp_keepalives_idle, show_tcp_keepalives_idle
-	},
-
-	{
-		{"tcp_keepalives_interval", PGC_USERSET, CONN_AUTH_TCP,
-			gettext_noop("Time between TCP keepalive retransmits."),
-			gettext_noop("0 means use the system default."),
-			GUC_UNIT_S
-		},
-		&tcp_keepalives_interval,
-		0, 0, INT_MAX,
-		NULL, assign_tcp_keepalives_interval, show_tcp_keepalives_interval
-	},
-
-	{
-		{"ssl_renegotiation_limit", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("SSL renegotiation is no longer supported; this can only be 0."),
-			NULL,
-			GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&ssl_renegotiation_limit,
-		0, 0, 0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"tcp_keepalives_count", PGC_USERSET, CONN_AUTH_TCP,
-			gettext_noop("Maximum number of TCP keepalive retransmits."),
-			gettext_noop("Number of consecutive keepalive retransmits that can be "
-						 "lost before a connection is considered dead. "
-						 "0 means use the system default."),
-		},
-		&tcp_keepalives_count,
-		0, 0, INT_MAX,
-		NULL, assign_tcp_keepalives_count, show_tcp_keepalives_count
-	},
-
-	{
-		{"gin_fuzzy_search_limit", PGC_USERSET, CLIENT_CONN_OTHER,
-			gettext_noop("Sets the maximum allowed result for exact search by GIN."),
-			gettext_noop("0 means no limit.")
-		},
-		&GinFuzzySearchLimit,
-		0, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"effective_cache_size", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's assumption about the total size of the data caches."),
-			gettext_noop("That is, the total size of the caches (kernel cache and shared buffers) used for PostgreSQL data files. "
-						 "This is measured in disk pages, which are normally 8 kB each."),
-			GUC_UNIT_BLOCKS | GUC_EXPLAIN
-		},
-		&effective_cache_size,
-		DEFAULT_EFFECTIVE_CACHE_SIZE, 1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"min_parallel_table_scan_size", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the minimum amount of table data for a parallel scan."),
-			gettext_noop("If the planner estimates that it will read a number of table pages too small to reach this limit, a parallel scan will not be considered."),
-			GUC_UNIT_BLOCKS | GUC_EXPLAIN
-		},
-		&min_parallel_table_scan_size,
-		(8 * 1024 * 1024) / BLCKSZ, 0, INT_MAX / 3,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"min_parallel_index_scan_size", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the minimum amount of index data for a parallel scan."),
-			gettext_noop("If the planner estimates that it will read a number of index pages too small to reach this limit, a parallel scan will not be considered."),
-			GUC_UNIT_BLOCKS | GUC_EXPLAIN
-		},
-		&min_parallel_index_scan_size,
-		(512 * 1024) / BLCKSZ, 0, INT_MAX / 3,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* Can't be set in postgresql.conf */
-		{"server_version_num", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the server version as an integer."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&server_version_num,
-		PG_VERSION_NUM, PG_VERSION_NUM, PG_VERSION_NUM,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_temp_files", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Log the use of temporary files larger than this number of kilobytes."),
-			gettext_noop("-1 disables logging temporary files. 0 means log all temporary files."),
-			GUC_UNIT_KB
-		},
-		&log_temp_files,
-		-1, -1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"track_activity_query_size", PGC_POSTMASTER, STATS_CUMULATIVE,
-			gettext_noop("Sets the size reserved for pg_stat_activity.query, in bytes."),
-			NULL,
-			GUC_UNIT_BYTE
-		},
-		&pgstat_track_activity_query_size,
-		1024, 100, 1048576,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"gin_pending_list_limit", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the maximum size of the pending list for GIN index."),
-			NULL,
-			GUC_UNIT_KB
-		},
-		&gin_pending_list_limit,
-		4096, 64, MAX_KILOBYTES,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"tcp_user_timeout", PGC_USERSET, CONN_AUTH_TCP,
-			gettext_noop("TCP user timeout."),
-			gettext_noop("0 means use the system default."),
-			GUC_UNIT_MS
-		},
-		&tcp_user_timeout,
-		0, 0, INT_MAX,
-		NULL, assign_tcp_user_timeout, show_tcp_user_timeout
-	},
-
-	{
-		{"huge_page_size", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("The size of huge page that should be requested."),
-			gettext_noop("0 means use the system default."),
-			GUC_UNIT_KB
-		},
-		&huge_page_size,
-		0, 0, INT_MAX,
-		check_huge_page_size, NULL, NULL
-	},
-
-	{
-		{"debug_discard_caches", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Aggressively flush system caches for debugging purposes."),
-			gettext_noop("0 means use normal caching behavior."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&debug_discard_caches,
-#ifdef DISCARD_CACHES_ENABLED
-		/* Set default based on older compile-time-only cache clobber macros */
-#if defined(CLOBBER_CACHE_RECURSIVELY)
-		3,
-#elif defined(CLOBBER_CACHE_ALWAYS)
-		1,
-#else
-		0,
-#endif
-		0, 5,
-#else							/* not DISCARD_CACHES_ENABLED */
-		0, 0, 0,
-#endif							/* not DISCARD_CACHES_ENABLED */
-		NULL, NULL, NULL
-	},
-
-	{
-		{"client_connection_check_interval", PGC_USERSET, CONN_AUTH_TCP,
-			gettext_noop("Sets the time interval between checks for disconnection while running queries."),
-			gettext_noop("0 disables connection checks."),
-			GUC_UNIT_MS
-		},
-		&client_connection_check_interval,
-		0, 0, INT_MAX,
-		check_client_connection_check_interval, NULL, NULL
-	},
-
-	{
-		{"log_startup_progress_interval", PGC_SIGHUP, LOGGING_WHEN,
-			gettext_noop("Time between progress updates for "
-						 "long-running startup operations."),
-			gettext_noop("0 disables progress updates."),
-			GUC_UNIT_MS
-		},
-		&log_startup_progress_interval,
-		10000, 0, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"scram_iterations", PGC_USERSET, CONN_AUTH_AUTH,
-			gettext_noop("Sets the iteration count for SCRAM secret generation."),
-			NULL,
-			GUC_REPORT
-		},
-		&scram_sha_256_iterations,
-		SCRAM_SHA_256_DEFAULT_ITERATIONS, 1, INT_MAX,
-		NULL, NULL, NULL
-	},
-
-	/* End-of-list marker */
-	{
-		{NULL, 0, 0, NULL, NULL}, NULL, 0, 0, 0, NULL, NULL, NULL
-	}
-};
-
-
-struct config_real ConfigureNamesReal[] =
-{
-	{
-		{"seq_page_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of a "
-						 "sequentially fetched disk page."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&seq_page_cost,
-		DEFAULT_SEQ_PAGE_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"random_page_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of a "
-						 "nonsequentially fetched disk page."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&random_page_cost,
-		DEFAULT_RANDOM_PAGE_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"cpu_tuple_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of "
-						 "processing each tuple (row)."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&cpu_tuple_cost,
-		DEFAULT_CPU_TUPLE_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"cpu_index_tuple_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of "
-						 "processing each index entry during an index scan."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&cpu_index_tuple_cost,
-		DEFAULT_CPU_INDEX_TUPLE_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"cpu_operator_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of "
-						 "processing each operator or function call."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&cpu_operator_cost,
-		DEFAULT_CPU_OPERATOR_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"parallel_tuple_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of "
-						 "passing each tuple (row) from worker to leader backend."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&parallel_tuple_cost,
-		DEFAULT_PARALLEL_TUPLE_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"parallel_setup_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Sets the planner's estimate of the cost of "
-						 "starting up worker processes for parallel query."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&parallel_setup_cost,
-		DEFAULT_PARALLEL_SETUP_COST, 0, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_above_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Perform JIT compilation if query is more expensive."),
-			gettext_noop("-1 disables JIT compilation."),
-			GUC_EXPLAIN
-		},
-		&jit_above_cost,
-		100000, -1, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_optimize_above_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Optimize JIT-compiled functions if query is more expensive."),
-			gettext_noop("-1 disables optimization."),
-			GUC_EXPLAIN
-		},
-		&jit_optimize_above_cost,
-		500000, -1, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"jit_inline_above_cost", PGC_USERSET, QUERY_TUNING_COST,
-			gettext_noop("Perform JIT inlining if query is more expensive."),
-			gettext_noop("-1 disables inlining."),
-			GUC_EXPLAIN
-		},
-		&jit_inline_above_cost,
-		500000, -1, DBL_MAX,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"cursor_tuple_fraction", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Sets the planner's estimate of the fraction of "
-						 "a cursor's rows that will be retrieved."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&cursor_tuple_fraction,
-		DEFAULT_CURSOR_TUPLE_FRACTION, 0.0, 1.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recursive_worktable_factor", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Sets the planner's estimate of the average size "
-						 "of a recursive query's working table."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&recursive_worktable_factor,
-		DEFAULT_RECURSIVE_WORKTABLE_FACTOR, 0.001, 1000000.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"geqo_selection_bias", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("GEQO: selective pressure within the population."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&Geqo_selection_bias,
-		DEFAULT_GEQO_SELECTION_BIAS, MIN_GEQO_SELECTION_BIAS, MAX_GEQO_SELECTION_BIAS,
-		NULL, NULL, NULL
-	},
-	{
-		{"geqo_seed", PGC_USERSET, QUERY_TUNING_GEQO,
-			gettext_noop("GEQO: seed for random path selection."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&Geqo_seed,
-		0.0, 0.0, 1.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"hash_mem_multiplier", PGC_USERSET, RESOURCES_MEM,
-			gettext_noop("Multiple of \"work_mem\" to use for hash tables."),
-			NULL,
-			GUC_EXPLAIN
-		},
-		&hash_mem_multiplier,
-		2.0, 1.0, 1000.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bgwriter_lru_multiplier", PGC_SIGHUP, RESOURCES_BGWRITER,
-			gettext_noop("Multiple of the average buffer usage to free per round."),
-			NULL
-		},
-		&bgwriter_lru_multiplier,
-		2.0, 0.0, 10.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"seed", PGC_USERSET, UNGROUPED,
-			gettext_noop("Sets the seed for random-number generation."),
-			NULL,
-			GUC_NO_SHOW_ALL | GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&phony_random_seed,
-		0.0, -1.0, 1.0,
-		check_random_seed, assign_random_seed, show_random_seed
-	},
-
-	{
-		{"vacuum_cost_delay", PGC_USERSET, VACUUM_COST_DELAY,
-			gettext_noop("Vacuum cost delay in milliseconds."),
-			NULL,
-			GUC_UNIT_MS
-		},
-		&VacuumCostDelay,
-		0, 0, 100,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_cost_delay", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Vacuum cost delay in milliseconds, for autovacuum."),
-			gettext_noop("-1 means use \"vacuum_cost_delay\"."),
-			GUC_UNIT_MS
-		},
-		&autovacuum_vac_cost_delay,
-		2, -1, 100,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_scale_factor", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Number of tuple updates or deletes prior to vacuum as a fraction of reltuples."),
-			NULL
-		},
-		&autovacuum_vac_scale,
-		0.2, 0.0, 100.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_vacuum_insert_scale_factor", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Number of tuple inserts prior to vacuum as a fraction of reltuples."),
-			NULL
-		},
-		&autovacuum_vac_ins_scale,
-		0.2, 0.0, 100.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"autovacuum_analyze_scale_factor", PGC_SIGHUP, VACUUM_AUTOVACUUM,
-			gettext_noop("Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples."),
-			NULL
-		},
-		&autovacuum_anl_scale,
-		0.1, 0.0, 100.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"checkpoint_completion_target", PGC_SIGHUP, WAL_CHECKPOINTS,
-			gettext_noop("Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval."),
-			NULL
-		},
-		&CheckPointCompletionTarget,
-		0.9, 0.0, 1.0,
-		NULL, assign_checkpoint_completion_target, NULL
-	},
-
-	{
-		{"log_statement_sample_rate", PGC_SUSET, LOGGING_WHEN,
-			gettext_noop("Fraction of statements exceeding \"log_min_duration_sample\" to be logged."),
-			gettext_noop("Use a value between 0.0 (never log) and 1.0 (always log).")
-		},
-		&log_statement_sample_rate,
-		1.0, 0.0, 1.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_transaction_sample_rate", PGC_SUSET, LOGGING_WHEN,
-			gettext_noop("Sets the fraction of transactions from which to log all statements."),
-			gettext_noop("Use a value between 0.0 (never log) and 1.0 (log all "
-						 "statements for all transactions).")
-		},
-		&log_xact_sample_rate,
-		0.0, 0.0, 1.0,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"vacuum_max_eager_freeze_failure_rate", PGC_USERSET, VACUUM_FREEZING,
-			gettext_noop("Fraction of pages in a relation vacuum can scan and fail to freeze before disabling eager scanning."),
-			gettext_noop("A value of 0.0 disables eager scanning and a value of 1.0 will eagerly scan up to 100 percent of the all-visible pages in the relation. If vacuum successfully freezes these pages, the cap is lower than 100 percent, because the goal is to amortize page freezing across multiple vacuums.")
-		},
-		&vacuum_max_eager_freeze_failure_rate,
-		0.03, 0.0, 1.0,
-		NULL, NULL, NULL
-	},
-
-	/* End-of-list marker */
-	{
-		{NULL, 0, 0, NULL, NULL}, NULL, 0.0, 0.0, 0.0, NULL, NULL, NULL
-	}
-};
-
-
-struct config_string ConfigureNamesString[] =
-{
-	{
-		{"archive_command", PGC_SIGHUP, WAL_ARCHIVING,
-			gettext_noop("Sets the shell command that will be called to archive a WAL file."),
-			gettext_noop("An empty string means use \"archive_library\".")
-		},
-		&XLogArchiveCommand,
-		"",
-		NULL, NULL, show_archive_command
-	},
-
-	{
-		{"archive_library", PGC_SIGHUP, WAL_ARCHIVING,
-			gettext_noop("Sets the library that will be called to archive a WAL file."),
-			gettext_noop("An empty string means use \"archive_command\".")
-		},
-		&XLogArchiveLibrary,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"restore_command", PGC_SIGHUP, WAL_ARCHIVE_RECOVERY,
-			gettext_noop("Sets the shell command that will be called to retrieve an archived WAL file."),
-			NULL
-		},
-		&recoveryRestoreCommand,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"archive_cleanup_command", PGC_SIGHUP, WAL_ARCHIVE_RECOVERY,
-			gettext_noop("Sets the shell command that will be executed at every restart point."),
-			NULL
-		},
-		&archiveCleanupCommand,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_end_command", PGC_SIGHUP, WAL_ARCHIVE_RECOVERY,
-			gettext_noop("Sets the shell command that will be executed once at the end of recovery."),
-			NULL
-		},
-		&recoveryEndCommand,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_target_timeline", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Specifies the timeline to recover into."),
-			NULL
-		},
-		&recovery_target_timeline_string,
-		"latest",
-		check_recovery_target_timeline, assign_recovery_target_timeline, NULL
-	},
-
-	{
-		{"recovery_target", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Set to \"immediate\" to end recovery as soon as a consistent state is reached."),
-			NULL
-		},
-		&recovery_target_string,
-		"",
-		check_recovery_target, assign_recovery_target, NULL
-	},
-
-	{
-		{"recovery_target_xid", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Sets the transaction ID up to which recovery will proceed."),
-			NULL
-		},
-		&recovery_target_xid_string,
-		"",
-		check_recovery_target_xid, assign_recovery_target_xid, NULL
-	},
-
-	{
-		{"recovery_target_time", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Sets the time stamp up to which recovery will proceed."),
-			NULL
-		},
-		&recovery_target_time_string,
-		"",
-		check_recovery_target_time, assign_recovery_target_time, NULL
-	},
-
-	{
-		{"recovery_target_name", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Sets the named restore point up to which recovery will proceed."),
-			NULL
-		},
-		&recovery_target_name_string,
-		"",
-		check_recovery_target_name, assign_recovery_target_name, NULL
-	},
-
-	{
-		{"recovery_target_lsn", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Sets the LSN of the write-ahead log location up to which recovery will proceed."),
-			NULL
-		},
-		&recovery_target_lsn_string,
-		"",
-		check_recovery_target_lsn, assign_recovery_target_lsn, NULL
-	},
-
-	{
-		{"primary_conninfo", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the connection string to be used to connect to the sending server."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&PrimaryConnInfo,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"primary_slot_name", PGC_SIGHUP, REPLICATION_STANDBY,
-			gettext_noop("Sets the name of the replication slot to use on the sending server."),
-			NULL
-		},
-		&PrimarySlotName,
-		"",
-		check_primary_slot_name, NULL, NULL
-	},
-
-	{
-		{"client_encoding", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the client's character set encoding."),
-			NULL,
-			GUC_IS_NAME | GUC_REPORT
-		},
-		&client_encoding_string,
-		"SQL_ASCII",
-		check_client_encoding, assign_client_encoding, NULL
-	},
-
-	{
-		{"log_line_prefix", PGC_SIGHUP, LOGGING_WHAT,
-			gettext_noop("Controls information prefixed to each log line."),
-			gettext_noop("An empty string means no prefix.")
-		},
-		&Log_line_prefix,
-		"%m [%p] ",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_timezone", PGC_SIGHUP, LOGGING_WHAT,
-			gettext_noop("Sets the time zone to use in log messages."),
-			NULL
-		},
-		&log_timezone_string,
-		"GMT",
-		check_log_timezone, assign_log_timezone, show_log_timezone
-	},
-
-	{
-		{"DateStyle", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the display format for date and time values."),
-			gettext_noop("Also controls interpretation of ambiguous "
-						 "date inputs."),
-			GUC_LIST_INPUT | GUC_REPORT
-		},
-		&datestyle_string,
-		"ISO, MDY",
-		check_datestyle, assign_datestyle, NULL
-	},
-
-	{
-		{"default_table_access_method", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the default table access method for new tables."),
-			NULL,
-			GUC_IS_NAME
-		},
-		&default_table_access_method,
-		DEFAULT_TABLE_ACCESS_METHOD,
-		check_default_table_access_method, NULL, NULL
-	},
-
-	{
-		{"default_tablespace", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the default tablespace to create tables and indexes in."),
-			gettext_noop("An empty string means use the database's default tablespace."),
-			GUC_IS_NAME
-		},
-		&default_tablespace,
-		"",
-		check_default_tablespace, NULL, NULL
-	},
-
-	{
-		{"temp_tablespaces", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the tablespace(s) to use for temporary tables and sort files."),
-			gettext_noop("An empty string means use the database's default tablespace."),
-			GUC_LIST_INPUT | GUC_LIST_QUOTE
-		},
-		&temp_tablespaces,
-		"",
-		check_temp_tablespaces, assign_temp_tablespaces, NULL
-	},
-
-	{
-		{"createrole_self_grant", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets whether a CREATEROLE user automatically grants "
-						 "the role to themselves, and with which options."),
-			gettext_noop("An empty string disables automatic self grants."),
-			GUC_LIST_INPUT
-		},
-		&createrole_self_grant,
-		"",
-		check_createrole_self_grant, assign_createrole_self_grant, NULL
-	},
-
-	{
-		{"dynamic_library_path", PGC_SUSET, CLIENT_CONN_OTHER,
-			gettext_noop("Sets the path for dynamically loadable modules."),
-			gettext_noop("If a dynamically loadable module needs to be opened and "
-						 "the specified name does not have a directory component (i.e., the "
-						 "name does not contain a slash), the system will search this path for "
-						 "the specified file."),
-			GUC_SUPERUSER_ONLY
-		},
-		&Dynamic_library_path,
-		"$libdir",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"extension_control_path", PGC_SUSET, CLIENT_CONN_OTHER,
-			gettext_noop("Sets the path for extension control files."),
-			gettext_noop("The remaining extension script and secondary control files are then loaded "
-						 "from the same directory where the primary control file was found."),
-			GUC_SUPERUSER_ONLY
-		},
-		&Extension_control_path,
-		"$system",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"krb_server_keyfile", PGC_SIGHUP, CONN_AUTH_AUTH,
-			gettext_noop("Sets the location of the Kerberos server key file."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&pg_krb_server_keyfile,
-		PG_KRB_SRVTAB,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bonjour_name", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the Bonjour service name."),
-			gettext_noop("An empty string means use the computer name.")
-		},
-		&bonjour_name,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"lc_messages", PGC_SUSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the language in which messages are displayed."),
-			gettext_noop("An empty string means use the operating system setting.")
-		},
-		&locale_messages,
-		"",
-		check_locale_messages, assign_locale_messages, NULL
-	},
-
-	{
-		{"lc_monetary", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the locale for formatting monetary amounts."),
-			gettext_noop("An empty string means use the operating system setting.")
-		},
-		&locale_monetary,
-		"C",
-		check_locale_monetary, assign_locale_monetary, NULL
-	},
-
-	{
-		{"lc_numeric", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the locale for formatting numbers."),
-			gettext_noop("An empty string means use the operating system setting.")
-		},
-		&locale_numeric,
-		"C",
-		check_locale_numeric, assign_locale_numeric, NULL
-	},
-
-	{
-		{"lc_time", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the locale for formatting date and time values."),
-			gettext_noop("An empty string means use the operating system setting.")
-		},
-		&locale_time,
-		"C",
-		check_locale_time, assign_locale_time, NULL
-	},
-
-	{
-		{"session_preload_libraries", PGC_SUSET, CLIENT_CONN_PRELOAD,
-			gettext_noop("Lists shared libraries to preload into each backend."),
-			NULL,
-			GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY
-		},
-		&session_preload_libraries_string,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"shared_preload_libraries", PGC_POSTMASTER, CLIENT_CONN_PRELOAD,
-			gettext_noop("Lists shared libraries to preload into server."),
-			NULL,
-			GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY
-		},
-		&shared_preload_libraries_string,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"local_preload_libraries", PGC_USERSET, CLIENT_CONN_PRELOAD,
-			gettext_noop("Lists unprivileged shared libraries to preload into each backend."),
-			NULL,
-			GUC_LIST_INPUT | GUC_LIST_QUOTE
-		},
-		&local_preload_libraries_string,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"search_path", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the schema search order for names that are not schema-qualified."),
-			NULL,
-			GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_EXPLAIN | GUC_REPORT
-		},
-		&namespace_search_path,
-		"\"$user\", public",
-		check_search_path, assign_search_path, NULL
-	},
-
-	{
-		/* Can't be set in postgresql.conf */
-		{"server_encoding", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the server (database) character set encoding."),
-			NULL,
-			GUC_IS_NAME | GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&server_encoding_string,
-		"SQL_ASCII",
-		NULL, NULL, NULL
-	},
-
-	{
-		/* Can't be set in postgresql.conf */
-		{"server_version", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the server version."),
-			NULL,
-			GUC_REPORT | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&server_version_string,
-		PG_VERSION,
-		NULL, NULL, NULL
-	},
-
-	{
-		/* Not for general use --- used by SET ROLE */
-		{"role", PGC_USERSET, UNGROUPED,
-			gettext_noop("Sets the current role."),
-			NULL,
-			GUC_IS_NAME | GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_NOT_WHILE_SEC_REST
-		},
-		&role_string,
-		"none",
-		check_role, assign_role, show_role
-	},
-
-	{
-		/* Not for general use --- used by SET SESSION AUTHORIZATION */
-		{"session_authorization", PGC_USERSET, UNGROUPED,
-			gettext_noop("Sets the session user name."),
-			NULL,
-			GUC_IS_NAME | GUC_REPORT | GUC_NO_SHOW_ALL | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE | GUC_NOT_WHILE_SEC_REST
-		},
-		&session_authorization_string,
-		NULL,
-		check_session_authorization, assign_session_authorization, NULL
-	},
-
-	{
-		{"log_destination", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the destination for server log output."),
-			gettext_noop("Valid values are combinations of \"stderr\", "
-						 "\"syslog\", \"csvlog\", \"jsonlog\", and \"eventlog\", "
-						 "depending on the platform."),
-			GUC_LIST_INPUT
-		},
-		&Log_destination_string,
-		"stderr",
-		check_log_destination, assign_log_destination, NULL
-	},
-
-	{
-		{"log_directory", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the destination directory for log files."),
-			gettext_noop("Can be specified as relative to the data directory "
-						 "or as absolute path."),
-			GUC_SUPERUSER_ONLY
-		},
-		&Log_directory,
-		"log",
-		check_canonical_path, NULL, NULL
-	},
-
-	{
-		{"log_filename", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the file name pattern for log files."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&Log_filename,
-		"postgresql-%Y-%m-%d_%H%M%S.log",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"syslog_ident", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the program name used to identify PostgreSQL "
-						 "messages in syslog."),
-			NULL
-		},
-		&syslog_ident_str,
-		"postgres",
-		NULL, assign_syslog_ident, NULL
-	},
-
-	{
-		{"event_source", PGC_POSTMASTER, LOGGING_WHERE,
-			gettext_noop("Sets the application name used to identify "
-						 "PostgreSQL messages in the event log."),
-			NULL
-		},
-		&event_source,
-		DEFAULT_EVENT_SOURCE,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"TimeZone", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the time zone for displaying and interpreting time stamps."),
-			NULL,
-			GUC_REPORT
-		},
-		&timezone_string,
-		"GMT",
-		check_timezone, assign_timezone, show_timezone
-	},
-
-	{
-		{"timezone_abbreviations", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Selects a file of time zone abbreviations."),
-			NULL
-		},
-		&timezone_abbreviations_string,
-		NULL,
-		check_timezone_abbreviations, assign_timezone_abbreviations, NULL
-	},
-
-	{
-		{"unix_socket_group", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the owning group of the Unix-domain socket."),
-			gettext_noop("The owning user of the socket is always the user that starts the server. "
-						 "An empty string means use the user's default group.")
-		},
-		&Unix_socket_group,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"unix_socket_directories", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the directories where Unix-domain sockets will be created."),
-			NULL,
-			GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY
-		},
-		&Unix_socket_directories,
-		DEFAULT_PGSOCKET_DIR,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"listen_addresses", PGC_POSTMASTER, CONN_AUTH_SETTINGS,
-			gettext_noop("Sets the host name or IP address(es) to listen to."),
-			NULL,
-			GUC_LIST_INPUT
-		},
-		&ListenAddresses,
-		"localhost",
-		NULL, NULL, NULL
-	},
-
-	{
-		/*
-		 * Can't be set by ALTER SYSTEM as it can lead to recursive definition
-		 * of data_directory.
-		 */
-		{"data_directory", PGC_POSTMASTER, FILE_LOCATIONS,
-			gettext_noop("Sets the server's data directory."),
-			NULL,
-			GUC_SUPERUSER_ONLY | GUC_DISALLOW_IN_AUTO_FILE
-		},
-		&data_directory,
-		NULL,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"config_file", PGC_POSTMASTER, FILE_LOCATIONS,
-			gettext_noop("Sets the server's main configuration file."),
-			NULL,
-			GUC_DISALLOW_IN_FILE | GUC_SUPERUSER_ONLY
-		},
-		&ConfigFileName,
-		NULL,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"hba_file", PGC_POSTMASTER, FILE_LOCATIONS,
-			gettext_noop("Sets the server's \"hba\" configuration file."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&HbaFileName,
-		NULL,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ident_file", PGC_POSTMASTER, FILE_LOCATIONS,
-			gettext_noop("Sets the server's \"ident\" configuration file."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&IdentFileName,
-		NULL,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"external_pid_file", PGC_POSTMASTER, FILE_LOCATIONS,
-			gettext_noop("Writes the postmaster PID to the specified file."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&external_pid_file,
-		NULL,
-		check_canonical_path, NULL, NULL
-	},
-
-	{
-		{"ssl_library", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Shows the name of the SSL library."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&ssl_library,
-#ifdef USE_SSL
-		"OpenSSL",
-#else
-		"",
-#endif
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_cert_file", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Location of the SSL server certificate file."),
-			NULL
-		},
-		&ssl_cert_file,
-		"server.crt",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_key_file", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Location of the SSL server private key file."),
-			NULL
-		},
-		&ssl_key_file,
-		"server.key",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_ca_file", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Location of the SSL certificate authority file."),
-			NULL
-		},
-		&ssl_ca_file,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_crl_file", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Location of the SSL certificate revocation list file."),
-			NULL
-		},
-		&ssl_crl_file,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_crl_dir", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Location of the SSL certificate revocation list directory."),
-			NULL
-		},
-		&ssl_crl_dir,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"synchronous_standby_names", PGC_SIGHUP, REPLICATION_PRIMARY,
-			gettext_noop("Number of synchronous standbys and list of names of potential synchronous ones."),
-			NULL,
-			GUC_LIST_INPUT
-		},
-		&SyncRepStandbyNames,
-		"",
-		check_synchronous_standby_names, assign_synchronous_standby_names, NULL
-	},
-
-	{
-		{"default_text_search_config", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets default text search configuration."),
-			NULL
-		},
-		&TSCurrentConfig,
-		"pg_catalog.simple",
-		check_default_text_search_config, assign_default_text_search_config, NULL
-	},
-
-	{
-		{"ssl_tls13_ciphers", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Sets the list of allowed TLSv1.3 cipher suites."),
-			gettext_noop("An empty string means use the default cipher suites."),
-			GUC_SUPERUSER_ONLY
-		},
-		&SSLCipherSuites,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_ciphers", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Sets the list of allowed TLSv1.2 (and lower) ciphers."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&SSLCipherList,
-#ifdef USE_OPENSSL
-		"HIGH:MEDIUM:+3DES:!aNULL",
-#else
-		"none",
-#endif
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_groups", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Sets the group(s) to use for Diffie-Hellman key exchange."),
-			gettext_noop("Multiple groups can be specified using a colon-separated list."),
-			GUC_SUPERUSER_ONLY
-		},
-		&SSLECDHCurve,
-#ifdef USE_SSL
-		"X25519:prime256v1",
-#else
-		"none",
-#endif
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_dh_params_file", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Location of the SSL DH parameters file."),
-			gettext_noop("An empty string means use compiled-in default parameters."),
-			GUC_SUPERUSER_ONLY
-		},
-		&ssl_dh_params_file,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_passphrase_command", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Command to obtain passphrases for SSL."),
-			gettext_noop("An empty string means use the built-in prompting mechanism."),
-			GUC_SUPERUSER_ONLY
-		},
-		&ssl_passphrase_command,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"application_name", PGC_USERSET, LOGGING_WHAT,
-			gettext_noop("Sets the application name to be reported in statistics and logs."),
-			NULL,
-			GUC_IS_NAME | GUC_REPORT | GUC_NOT_IN_SAMPLE
-		},
-		&application_name,
-		"",
-		check_application_name, assign_application_name, NULL
-	},
-
-	{
-		{"cluster_name", PGC_POSTMASTER, PROCESS_TITLE,
-			gettext_noop("Sets the name of the cluster, which is included in the process title."),
-			NULL,
-			GUC_IS_NAME
-		},
-		&cluster_name,
-		"",
-		check_cluster_name, NULL, NULL
-	},
-
-	{
-		{"wal_consistency_checking", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Sets the WAL resource managers for which WAL consistency checks are done."),
-			gettext_noop("Full-page images will be logged for all data blocks and cross-checked against the results of WAL replay."),
-			GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
-		},
-		&wal_consistency_checking_string,
-		"",
-		check_wal_consistency_checking, assign_wal_consistency_checking, NULL
-	},
-
-	{
-		{"jit_provider", PGC_POSTMASTER, CLIENT_CONN_PRELOAD,
-			gettext_noop("JIT provider to use."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&jit_provider,
-		"llvmjit",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"backtrace_functions", PGC_SUSET, DEVELOPER_OPTIONS,
-			gettext_noop("Log backtrace for errors in these functions."),
-			NULL,
-			GUC_NOT_IN_SAMPLE
-		},
-		&backtrace_functions,
-		"",
-		check_backtrace_functions, assign_backtrace_functions, NULL
-	},
-
-	{
-		{"debug_io_direct", PGC_POSTMASTER, DEVELOPER_OPTIONS,
-			gettext_noop("Use direct I/O for file access."),
-			gettext_noop("An empty string disables direct I/O."),
-			GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
-		},
-		&debug_io_direct_string,
-		"",
-		check_debug_io_direct, assign_debug_io_direct, NULL
-	},
-
-	{
-		{"synchronized_standby_slots", PGC_SIGHUP, REPLICATION_PRIMARY,
-			gettext_noop("Lists streaming replication standby server replication slot "
-						 "names that logical WAL sender processes will wait for."),
-			gettext_noop("Logical WAL sender processes will send decoded "
-						 "changes to output plugins only after the specified "
-						 "replication slots have confirmed receiving WAL."),
-			GUC_LIST_INPUT
-		},
-		&synchronized_standby_slots,
-		"",
-		check_synchronized_standby_slots, assign_synchronized_standby_slots, NULL
-	},
-
-	{
-		{"restrict_nonsystem_relation_kind", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Prohibits access to non-system relations of specified kinds."),
-			NULL,
-			GUC_LIST_INPUT | GUC_NOT_IN_SAMPLE
-		},
-		&restrict_nonsystem_relation_kind_string,
-		"",
-		check_restrict_nonsystem_relation_kind, assign_restrict_nonsystem_relation_kind, NULL
-	},
-
-	{
-		{"oauth_validator_libraries", PGC_SIGHUP, CONN_AUTH_AUTH,
-			gettext_noop("Lists libraries that may be called to validate OAuth v2 bearer tokens."),
-			NULL,
-			GUC_LIST_INPUT | GUC_LIST_QUOTE | GUC_SUPERUSER_ONLY
-		},
-		&oauth_validator_libraries_string,
-		"",
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_connections", PGC_SU_BACKEND, LOGGING_WHAT,
-			gettext_noop("Logs specified aspects of connection establishment and setup."),
-			NULL,
-			GUC_LIST_INPUT
-		},
-		&log_connections_string,
-		"",
-		check_log_connections, assign_log_connections, NULL
-	},
-
-	/* End-of-list marker */
-	{
-		{NULL, 0, 0, NULL, NULL}, NULL, NULL, NULL, NULL, NULL
-	}
-};
-
-
-struct config_enum ConfigureNamesEnum[] =
-{
-	{
-		{"backslash_quote", PGC_USERSET, COMPAT_OPTIONS_PREVIOUS,
-			gettext_noop("Sets whether \"\\'\" is allowed in string literals."),
-			NULL
-		},
-		&backslash_quote,
-		BACKSLASH_QUOTE_SAFE_ENCODING, backslash_quote_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"bytea_output", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the output format for bytea."),
-			NULL
-		},
-		&bytea_output,
-		BYTEA_OUTPUT_HEX, bytea_output_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"client_min_messages", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the message levels that are sent to the client."),
-			gettext_noop("Each level includes all the levels that follow it. The later"
-						 " the level, the fewer messages are sent.")
-		},
-		&client_min_messages,
-		NOTICE, client_message_level_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"compute_query_id", PGC_SUSET, STATS_MONITORING,
-			gettext_noop("Enables in-core computation of query identifiers."),
-			NULL
-		},
-		&compute_query_id,
-		COMPUTE_QUERY_ID_AUTO, compute_query_id_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"constraint_exclusion", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Enables the planner to use constraints to optimize queries."),
-			gettext_noop("Table scans will be skipped if their constraints"
-						 " guarantee that no rows match the query."),
-			GUC_EXPLAIN
-		},
-		&constraint_exclusion,
-		CONSTRAINT_EXCLUSION_PARTITION, constraint_exclusion_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"default_toast_compression", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the default compression method for compressible values."),
-			NULL
-		},
-		&default_toast_compression,
-		TOAST_PGLZ_COMPRESSION, default_toast_compression_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"default_transaction_isolation", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the transaction isolation level of each new transaction."),
-			NULL
-		},
-		&DefaultXactIsoLevel,
-		XACT_READ_COMMITTED, isolation_level_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"transaction_isolation", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the current transaction's isolation level."),
-			NULL,
-			GUC_NO_RESET | GUC_NO_RESET_ALL | GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&XactIsoLevel,
-		XACT_READ_COMMITTED, isolation_level_options,
-		check_transaction_isolation, NULL, NULL
-	},
-
-	{
-		{"IntervalStyle", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Sets the display format for interval values."),
-			NULL,
-			GUC_REPORT
-		},
-		&IntervalStyle,
-		INTSTYLE_POSTGRES, intervalstyle_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"icu_validation_level", PGC_USERSET, CLIENT_CONN_LOCALE,
-			gettext_noop("Log level for reporting invalid ICU locale strings."),
-			NULL
-		},
-		&icu_validation_level,
-		WARNING, icu_validation_level_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_error_verbosity", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Sets the verbosity of logged messages."),
-			NULL
-		},
-		&Log_error_verbosity,
-		PGERROR_DEFAULT, log_error_verbosity_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_min_messages", PGC_SUSET, LOGGING_WHEN,
-			gettext_noop("Sets the message levels that are logged."),
-			gettext_noop("Each level includes all the levels that follow it. The later"
-						 " the level, the fewer messages are sent.")
-		},
-		&log_min_messages,
-		WARNING, server_message_level_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_min_error_statement", PGC_SUSET, LOGGING_WHEN,
-			gettext_noop("Causes all statements generating error at or above this level to be logged."),
-			gettext_noop("Each level includes all the levels that follow it. The later"
-						 " the level, the fewer messages are sent.")
-		},
-		&log_min_error_statement,
-		ERROR, server_message_level_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"log_statement", PGC_SUSET, LOGGING_WHAT,
-			gettext_noop("Sets the type of statements logged."),
-			NULL
-		},
-		&log_statement,
-		LOGSTMT_NONE, log_statement_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"syslog_facility", PGC_SIGHUP, LOGGING_WHERE,
-			gettext_noop("Sets the syslog \"facility\" to be used when syslog enabled."),
-			NULL
-		},
-		&syslog_facility,
-		DEFAULT_SYSLOG_FACILITY, syslog_facility_options,
-		NULL, assign_syslog_facility, NULL
-	},
-
-	{
-		{"session_replication_role", PGC_SUSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets the session's behavior for triggers and rewrite rules."),
-			NULL
-		},
-		&SessionReplicationRole,
-		SESSION_REPLICATION_ROLE_ORIGIN, session_replication_role_options,
-		NULL, assign_session_replication_role, NULL
-	},
-
-	{
-		{"synchronous_commit", PGC_USERSET, WAL_SETTINGS,
-			gettext_noop("Sets the current transaction's synchronization level."),
-			NULL
-		},
-		&synchronous_commit,
-		SYNCHRONOUS_COMMIT_ON, synchronous_commit_options,
-		NULL, assign_synchronous_commit, NULL
-	},
-
-	{
-		{"archive_mode", PGC_POSTMASTER, WAL_ARCHIVING,
-			gettext_noop("Allows archiving of WAL files using \"archive_command\"."),
-			NULL
-		},
-		&XLogArchiveMode,
-		ARCHIVE_MODE_OFF, archive_mode_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_target_action", PGC_POSTMASTER, WAL_RECOVERY_TARGET,
-			gettext_noop("Sets the action to perform upon reaching the recovery target."),
-			NULL
-		},
-		&recoveryTargetAction,
-		RECOVERY_TARGET_ACTION_PAUSE, recovery_target_action_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"track_functions", PGC_SUSET, STATS_CUMULATIVE,
-			gettext_noop("Collects function-level statistics on database activity."),
-			NULL
-		},
-		&pgstat_track_functions,
-		TRACK_FUNC_OFF, track_function_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"stats_fetch_consistency", PGC_USERSET, STATS_CUMULATIVE,
-			gettext_noop("Sets the consistency of accesses to statistics data."),
-			NULL
-		},
-		&pgstat_fetch_consistency,
-		PGSTAT_FETCH_CONSISTENCY_CACHE, stats_fetch_consistency,
-		NULL, assign_stats_fetch_consistency, NULL
-	},
-
-	{
-		{"wal_compression", PGC_SUSET, WAL_SETTINGS,
-			gettext_noop("Compresses full-page writes written in WAL file with specified method."),
-			NULL
-		},
-		&wal_compression,
-		WAL_COMPRESSION_NONE, wal_compression_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_level", PGC_POSTMASTER, WAL_SETTINGS,
-			gettext_noop("Sets the level of information written to the WAL."),
-			NULL
-		},
-		&wal_level,
-		WAL_LEVEL_REPLICA, wal_level_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"dynamic_shared_memory_type", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Selects the dynamic shared memory implementation used."),
-			NULL
-		},
-		&dynamic_shared_memory_type,
-		DEFAULT_DYNAMIC_SHARED_MEMORY_TYPE, dynamic_shared_memory_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"shared_memory_type", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Selects the shared memory implementation used for the main shared memory region."),
-			NULL
-		},
-		&shared_memory_type,
-		DEFAULT_SHARED_MEMORY_TYPE, shared_memory_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"file_copy_method", PGC_USERSET, RESOURCES_DISK,
-			gettext_noop("Selects the file copy method."),
-			NULL
-		},
-		&file_copy_method,
-		FILE_COPY_METHOD_COPY, file_copy_method_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"wal_sync_method", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Selects the method used for forcing WAL updates to disk."),
-			NULL
-		},
-		&wal_sync_method,
-		DEFAULT_WAL_SYNC_METHOD, wal_sync_method_options,
-		NULL, assign_wal_sync_method, NULL
-	},
-
-	{
-		{"xmlbinary", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets how binary values are to be encoded in XML."),
-			NULL
-		},
-		&xmlbinary,
-		XMLBINARY_BASE64, xmlbinary_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"xmloption", PGC_USERSET, CLIENT_CONN_STATEMENT,
-			gettext_noop("Sets whether XML data in implicit parsing and serialization "
-						 "operations is to be considered as documents or content fragments."),
-			NULL
-		},
-		&xmloption,
-		XMLOPTION_CONTENT, xmloption_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"huge_pages", PGC_POSTMASTER, RESOURCES_MEM,
-			gettext_noop("Use of huge pages on Linux or Windows."),
-			NULL
-		},
-		&huge_pages,
-		HUGE_PAGES_TRY, huge_pages_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"huge_pages_status", PGC_INTERNAL, PRESET_OPTIONS,
-			gettext_noop("Indicates the status of huge pages."),
-			NULL,
-			GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
-		},
-		&huge_pages_status,
-		HUGE_PAGES_UNKNOWN, huge_pages_status_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_prefetch", PGC_SIGHUP, WAL_RECOVERY,
-			gettext_noop("Prefetch referenced blocks during recovery."),
-			gettext_noop("Look ahead in the WAL to find references to uncached data.")
-		},
-		&recovery_prefetch,
-		RECOVERY_PREFETCH_TRY, recovery_prefetch_options,
-		check_recovery_prefetch, assign_recovery_prefetch, NULL
-	},
-
-	{
-		{"debug_parallel_query", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Forces the planner's use parallel query nodes."),
-			gettext_noop("This can be useful for testing the parallel query infrastructure "
-						 "by forcing the planner to generate plans that contain nodes "
-						 "that perform tuple communication between workers and the main process."),
-			GUC_NOT_IN_SAMPLE | GUC_EXPLAIN
-		},
-		&debug_parallel_query,
-		DEBUG_PARALLEL_OFF, debug_parallel_query_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"password_encryption", PGC_USERSET, CONN_AUTH_AUTH,
-			gettext_noop("Chooses the algorithm for encrypting passwords."),
-			NULL
-		},
-		&Password_encryption,
-		PASSWORD_TYPE_SCRAM_SHA_256, password_encryption_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"plan_cache_mode", PGC_USERSET, QUERY_TUNING_OTHER,
-			gettext_noop("Controls the planner's selection of custom or generic plan."),
-			gettext_noop("Prepared statements can have custom and generic plans, and the planner "
-						 "will attempt to choose which is better.  This can be set to override "
-						 "the default behavior."),
-			GUC_EXPLAIN
-		},
-		&plan_cache_mode,
-		PLAN_CACHE_MODE_AUTO, plan_cache_mode_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_min_protocol_version", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Sets the minimum SSL/TLS protocol version to use."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&ssl_min_protocol_version,
-		PG_TLS1_2_VERSION, ssl_protocol_versions_info + 1,	/* don't allow
-															 * PG_TLS_ANY */
-		NULL, NULL, NULL
-	},
-
-	{
-		{"ssl_max_protocol_version", PGC_SIGHUP, CONN_AUTH_SSL,
-			gettext_noop("Sets the maximum SSL/TLS protocol version to use."),
-			NULL,
-			GUC_SUPERUSER_ONLY
-		},
-		&ssl_max_protocol_version,
-		PG_TLS_ANY, ssl_protocol_versions_info,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"recovery_init_sync_method", PGC_SIGHUP, ERROR_HANDLING_OPTIONS,
-			gettext_noop("Sets the method for synchronizing the data directory before crash recovery."),
-			NULL
-		},
-		&recovery_init_sync_method,
-		DATA_DIR_SYNC_METHOD_FSYNC, recovery_init_sync_method_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"debug_logical_replication_streaming", PGC_USERSET, DEVELOPER_OPTIONS,
-			gettext_noop("Forces immediate streaming or serialization of changes in large transactions."),
-			gettext_noop("On the publisher, it allows streaming or serializing each change in logical decoding. "
-						 "On the subscriber, it allows serialization of all changes to files and notifies the "
-						 "parallel apply workers to read and apply them at the end of the transaction."),
-			GUC_NOT_IN_SAMPLE
-		},
-		&debug_logical_replication_streaming,
-		DEBUG_LOGICAL_REP_STREAMING_BUFFERED, debug_logical_replication_streaming_options,
-		NULL, NULL, NULL
-	},
-
-	{
-		{"io_method", PGC_POSTMASTER, RESOURCES_IO,
-			gettext_noop("Selects the method for executing asynchronous I/O."),
-			NULL
-		},
-		&io_method,
-		DEFAULT_IO_METHOD, io_method_options,
-		NULL, assign_io_method, NULL
-	},
-
-	/* End-of-list marker */
-	{
-		{NULL, 0, 0, NULL, NULL}, NULL, 0, NULL, NULL, NULL, NULL
-	}
-};
+#include "utils/guc_tables.inc.c"
diff --git a/src/bin/pg_dump/dumputils.c b/src/bin/pg_dump/dumputils.c
index 8945bdd42c..05b84c0d6e 100644
--- a/src/bin/pg_dump/dumputils.c
+++ b/src/bin/pg_dump/dumputils.c
@@ -724,7 +724,7 @@ emitShSecLabels(PGconn *conn, PGresult *res, PQExpBuffer buffer,
  * currently known to guc.c, so that it'd be unsafe for extensions to declare
  * GUC_LIST_QUOTE variables anyway.  Lacking a solution for that, it doesn't
  * seem worth the work to do more than have this list, which must be kept in
- * sync with the variables actually marked GUC_LIST_QUOTE in guc_tables.c.
+ * sync with the variables actually marked GUC_LIST_QUOTE in guc_parameters.dat.
  */
 bool
 variable_is_guc_list_quote(const char *name)
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h
index aeb66ca40c..5af005ad77 100644
--- a/src/include/libpq/libpq.h
+++ b/src/include/libpq/libpq.h
@@ -118,6 +118,24 @@ extern PGDLLIMPORT bool SSLPreferServerCiphers;
 extern PGDLLIMPORT bool ssl_loaded_verify_locations;
 #endif
 
+#ifdef USE_SSL
+#define SSL_LIBRARY "OpenSSL"
+#else
+#define SSL_LIBRARY ""
+#endif
+
+#ifdef USE_OPENSSL
+#define DEFAULT_SSL_CIPHERS "HIGH:MEDIUM:+3DES:!aNULL"
+#else
+#define DEFAULT_SSL_CIPHERS "none"
+#endif
+
+#ifdef USE_SSL
+#define DEFAULT_SSL_GROUPS "X25519:prime256v1"
+#else
+#define DEFAULT_SSL_GROUPS "none"
+#endif
+
 /*
  * prototypes for functions in be-secure-gssapi.c
  */
diff --git a/src/include/utils/.gitignore b/src/include/utils/.gitignore
index c1b4c66213..30f921429c 100644
--- a/src/include/utils/.gitignore
+++ b/src/include/utils/.gitignore
@@ -1,5 +1,6 @@
 /fmgroids.h
 /fmgrprotos.h
+/guc_tables.inc.c
 /probes.h
 /errcodes.h
 /header-stamp
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h
index f619100467..72981053e6 100644
--- a/src/include/utils/guc.h
+++ b/src/include/utils/guc.h
@@ -254,8 +254,31 @@ extern PGDLLIMPORT bool Debug_pretty_print;
 extern PGDLLIMPORT bool Debug_copy_parse_plan_trees;
 extern PGDLLIMPORT bool Debug_write_read_parse_plan_trees;
 extern PGDLLIMPORT bool Debug_raw_expression_coverage_test;
+
+/*
+ * support for legacy compile-time settings
+ */
+
+#ifdef COPY_PARSE_PLAN_TREES
+#define DEFAULT_DEBUG_COPY_PARSE_PLAN_TREES true
+#else
+#define DEFAULT_DEBUG_COPY_PARSE_PLAN_TREES false
+#endif
+
+#ifdef READ_WRITE_PARSE_PLAN_TREES
+#define DEFAULT_DEBUG_READ_WRITE_PARSE_PLAN_TREES true
+#else
+#define DEFAULT_DEBUG_READ_WRITE_PARSE_PLAN_TREES false
+#endif
+
+#ifdef RAW_EXPRESSION_COVERAGE_TEST
+#define DEFAULT_DEBUG_RAW_EXPRESSION_COVERAGE_TEST true
+#else
+#define DEFAULT_DEBUG_RAW_EXPRESSION_COVERAGE_TEST false
 #endif
 
+#endif							/* DEBUG_NODE_TESTS_ENABLED */
+
 extern PGDLLIMPORT bool log_parser_stats;
 extern PGDLLIMPORT bool log_planner_stats;
 extern PGDLLIMPORT bool log_executor_stats;
diff --git a/src/include/utils/inval.h b/src/include/utils/inval.h
index 9b871caef6..af46625257 100644
--- a/src/include/utils/inval.h
+++ b/src/include/utils/inval.h
@@ -20,6 +20,24 @@
 
 extern PGDLLIMPORT int debug_discard_caches;
 
+#define MIN_DEBUG_DISCARD_CACHES 0
+
+#ifdef DISCARD_CACHES_ENABLED
+ /* Set default based on older compile-time-only cache clobber macros */
+#if defined(CLOBBER_CACHE_RECURSIVELY)
+#define DEFAULT_DEBUG_DISCARD_CACHES 3
+#elif defined(CLOBBER_CACHE_ALWAYS)
+#define DEFAULT_DEBUG_DISCARD_CACHES 1
+#else
+#define DEFAULT_DEBUG_DISCARD_CACHES 0
+#endif
+#define MAX_DEBUG_DISCARD_CACHES 5
+#else							/* not DISCARD_CACHES_ENABLED */
+#define DEFAULT_DEBUG_DISCARD_CACHES 0
+#define MAX_DEBUG_DISCARD_CACHES 0
+#endif							/* not DISCARD_CACHES_ENABLED */
+
+
 typedef void (*SyscacheCallbackFunction) (Datum arg, int cacheid, uint32 hashvalue);
 typedef void (*RelcacheCallbackFunction) (Datum arg, Oid relid);
 typedef void (*RelSyncCallbackFunction) (Datum arg, Oid relid);
diff --git a/src/include/utils/meson.build b/src/include/utils/meson.build
index 78c6b9b0a2..0a2ea8fa32 100644
--- a/src/include/utils/meson.build
+++ b/src/include/utils/meson.build
@@ -30,6 +30,13 @@ errcodes = custom_target('errcodes',
 )
 generated_headers += errcodes
 
+guc_tables = custom_target('guc_tables',
+  input: files('../../backend/utils/misc/guc_parameters.dat'),
+  output: ['guc_tables.inc.c'],
+  depend_files: catalog_pm,
+  command: [perl, files('../../backend/utils/misc/gen_guc_tables.pl'), '@INPUT@', '@OUTPUT@'])
+generated_headers += guc_tables
+
 if dtrace.found()
   probes_tmp = custom_target('probes.h.tmp',
     input: files('../../backend/utils/probes.d'),
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index 671b4d7623..504c0235ff 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -364,8 +364,8 @@ pg_timezone_initialize(void)
 	 * We may not yet know where PGSHAREDIR is (in particular this is true in
 	 * an EXEC_BACKEND subprocess).  So use "GMT", which pg_tzset forces to be
 	 * interpreted without reference to the filesystem.  This corresponds to
-	 * the bootstrap default for these variables in guc_tables.c, although in
-	 * principle it could be different.
+	 * the bootstrap default for these variables in guc_parameters.dat,
+	 * although in principle it could be different.
 	 */
 	session_timezone = pg_tzset("GMT");
 	log_timezone = session_timezone;
-- 
2.39.5

