postgres.git / summary / log / commit / refs
commit f0672b6787ab48204dc8aebbcd1bae0a5775ff8b
Author: Michael Paquier <michael@paquier.xyz>
Date: Tue Dec 10 04:02:27 2024 +0000
First released in: 18.0, 16.7, 17.3
Fix comments of GUC hooks for timezone_abbreviations
The GUC assign and check hooks used "assign_timezone_abbreviations",
which was incorrect.
Issue noticed while browsing this area of the code, introduced in
0a20ff54f5e6.
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/Z1eV6Y8yk77GZhZI@paquier.xyz
Backpatch-through: 16
src/backend/commands/variable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c
index 8ea1fd9a63d..6c37f5d57bb 100644
--- a/src/backend/commands/variable.c
+++ b/src/backend/commands/variable.c
@@ -479,7 +479,7 @@ show_log_timezone(void)
*/
/*
- * GUC check_hook for assign_timezone_abbreviations
+ * GUC check_hook for timezone_abbreviations
*/
bool
check_timezone_abbreviations(char **newval, void **extra, GucSource source)
@@ -511,7 +511,7 @@ check_timezone_abbreviations(char **newval, void **extra, GucSource source)
}
/*
- * GUC assign_hook for assign_timezone_abbreviations
+ * GUC assign_hook for timezone_abbreviations
*/
void
assign_timezone_abbreviations(const char *newval, void *extra)
[parent: 8ac97ce42c8c]