Fix some comments for GUC hooks of timezone_abbreviations

Started by Michael Paquierover 1 year ago3 messageshackers
Jump to latest
#1Michael Paquier
michael@paquier.xyz

Hi all,

While browsing through the code, I have noticed two comments on top of
assign_timezone_abbreviations() and check_timezone_abbreviations()
that mention "assign_timezone_abbreviations" as the GUC name, while it
should be "timezone_abbreviations", obviously.

I have not noticed any similar mistakes for the other check and assign
hooks.

Comments are welcome.
--
Michael

Attachments:

guc-hook.patchtext/x-diff; charset=us-asciiDownload+2-2
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Michael Paquier (#1)
Re: Fix some comments for GUC hooks of timezone_abbreviations

Michael Paquier <michael@paquier.xyz> writes:

While browsing through the code, I have noticed two comments on top of
assign_timezone_abbreviations() and check_timezone_abbreviations()
that mention "assign_timezone_abbreviations" as the GUC name, while it
should be "timezone_abbreviations", obviously.

Obvious typo indeed (probably my fault :-()

regards, tom lane

#3Michael Paquier
michael@paquier.xyz
In reply to: Tom Lane (#2)
Re: Fix some comments for GUC hooks of timezone_abbreviations

On Mon, Dec 09, 2024 at 09:18:48PM -0500, Tom Lane wrote:

Obvious typo indeed (probably my fault :-()

As a matter of fact, you are right as this comes from 0a20ff54f5e6.
No worries, I'll go fix that.
--
Michael