diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-12-10 13:02:24 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-12-10 13:02:24 +0900 |
commit | 67ef403d0e8f069368612adb917e42cd62cc6377 (patch) | |
tree | dba0ba0c746ef3bfd9a662cb7071105d42a1e383 /src | |
parent | 416d1bd66c2859b2a40d265b77299c1f1d5dfc5b (diff) | |
download | postgresql-67ef403d0e8f069368612adb917e42cd62cc6377.tar.gz postgresql-67ef403d0e8f069368612adb917e42cd62cc6377.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/variable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c index f92d72b5b7e..aee6bbd4f44 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) |