Content-Length: 272640 | pFad | http://github.com/postgrespro/postgres/commit/d37e856410d0856cb851e11b2e0191edf6cde527

C3 Fix comments of GUC hooks for timezone_abbreviations · postgrespro/postgres@d37e856 · GitHub
Skip to content

Commit d37e856

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 7b2690a commit d37e856

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d37e856410d0856cb851e11b2e0191edf6cde527

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy