Skip to content

Commit 67ef403

Browse files
committed
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 0a20ff5. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/Z1eV6Y8yk77GZhZI@paquier.xyz Backpatch-through: 16
1 parent 416d1bd commit 67ef403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/variable.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ show_log_timezone(void)
479479
*/
480480

481481
/*
482-
* GUC check_hook for assign_timezone_abbreviations
482+
* GUC check_hook for timezone_abbreviations
483483
*/
484484
bool
485485
check_timezone_abbreviations(char **newval, void **extra, GucSource source)
@@ -511,7 +511,7 @@ check_timezone_abbreviations(char **newval, void **extra, GucSource source)
511511
}
512512

513513
/*
514-
* GUC assign_hook for assign_timezone_abbreviations
514+
* GUC assign_hook for timezone_abbreviations
515515
*/
516516
void
517517
assign_timezone_abbreviations(const char *newval, void *extra)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy