Improve placement of "display name" comment in win32_tzmap[] entries.
authorTom Lane
Fri, 24 Apr 2020 21:21:44 +0000 (17:21 -0400)
committerTom Lane
Fri, 24 Apr 2020 21:21:44 +0000 (17:21 -0400)
commita2342c6582be1df1f7977283dd01345ec383be27
treeef9f3b13eb667b607e960b17a2447bf37e11820c
parent64e49a67e0207a45e41ba2a5f19964230f21a951
Improve placement of "display name" comment in win32_tzmap[] entries.

Sticking this comment at the end of the last line was a bad idea: it's
not particularly readable, and it tempts pgindent to mess with line
breaks within the comment, which in turn reveals that win32tzlist.pl's
clean_displayname() does the wrong thing to clean up such line breaks.
While that's not hard to fix, there's basically no excuse for this
arrangement to begin with, especially since it makes the table layout
needlessly vary across back branches with different pgindent rules.
Let's just put the comment inside the braces, instead.

This commit just moves and reformats the comments, and updates
win32tzlist.pl to match; there's no actual data change.

Per odd-looking results from Juan José Santamaría Flecha.
Back-patch, since the point is to make win32_tzmap[] look the
same in all supported branches again.

Discussion: https://postgr.es/m/5752.1587740484@sss.pgh.pa.us
src/bin/initdb/findtimezone.c
src/tools/win32tzlist.pl