diff options
author | Michael Paquier | 2024-12-10 04:02:21 +0000 |
---|---|---|
committer | Michael Paquier | 2024-12-10 04:02:21 +0000 |
commit | d37e856410d0856cb851e11b2e0191edf6cde527 (patch) | |
tree | 60399ee33757375c40423c6c770ddd7c64c3ed2d | |
parent | 7b2690a5713e66c64313cea1cf881da3dcaaae2a (diff) |
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/[email protected]
Backpatch-through: 16
-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 2c8059e8d89..d2db0c45b2b 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) |