summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-09-03 09:11:48 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-09-03 09:45:17 +0200
commit63599896545c7869f7dd28cd593e8b548983d613 (patch)
treecc868c3cca49fa94b8ccbcc69df780e924efeca8 /src/timezone/pgtz.c
parentaba8f61c30911cbac1a310b7d21777e04711c66e (diff)
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
Diffstat (limited to 'src/timezone/pgtz.c')
-rw-r--r--src/timezone/pgtz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index 671b4d76237..504c0235ffb 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;