pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
6+ messages / 1 participants
[nested] [flat]

* pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
@ 2020-04-24 21:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2020-04-24 21:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bd8c5cee961af86e65b873e9debba13cfcb3cb89

Modified Files
--------------
src/bin/initdb/findtimezone.c | 439 +++++++++++++++++++++++++++---------------
src/tools/win32tzlist.pl      |  12 +-
2 files changed, 290 insertions(+), 161 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
@ 2020-04-24 21:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2020-04-24 21:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a2342c6582be1df1f7977283dd01345ec383be27

Modified Files
--------------
src/bin/initdb/findtimezone.c | 439 +++++++++++++++++++++++++++---------------
src/tools/win32tzlist.pl      |  12 +-
2 files changed, 290 insertions(+), 161 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
@ 2020-04-24 21:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2020-04-24 21:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/99c9ed224227596d61a47e8ed0cb23ebd5024ca8

Modified Files
--------------
src/bin/initdb/findtimezone.c | 439 +++++++++++++++++++++++++++---------------
src/tools/win32tzlist.pl      |  12 +-
2 files changed, 290 insertions(+), 161 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
@ 2020-04-24 21:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2020-04-24 21:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4985b3b84918025f65b268df08d00c214411ebff

Modified Files
--------------
src/bin/initdb/findtimezone.c | 439 +++++++++++++++++++++++++++---------------
src/tools/win32tzlist.pl      |  14 +-
2 files changed, 292 insertions(+), 161 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
@ 2020-04-24 21:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2020-04-24 21:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/351252904a8c5b674a508b7fa5c3924c66d1f7f6

Modified Files
--------------
src/bin/initdb/findtimezone.c | 441 +++++++++++++++++++++++++++---------------
src/tools/win32tzlist.pl      |  14 +-
2 files changed, 292 insertions(+), 163 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Improve placement of "display name" comment in win32_tzmap[] ent
@ 2020-04-24 21:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2020-04-24 21:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3f3ab184c642ecdb79975d2ee567a669df5245a8

Modified Files
--------------
src/bin/initdb/findtimezone.c | 441 +++++++++++++++++++++++++++---------------
src/tools/win32tzlist.pl      |  14 +-
2 files changed, 292 insertions(+), 163 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2020-04-24 21:53 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 21:53 pgsql: Improve placement of "display name" comment in win32_tzmap[] ent Tom Lane <tgl@sss.pgh.pa.us>
2020-04-24 21:53 pgsql: Improve placement of "display name" comment in win32_tzmap[] ent Tom Lane <tgl@sss.pgh.pa.us>
2020-04-24 21:53 pgsql: Improve placement of "display name" comment in win32_tzmap[] ent Tom Lane <tgl@sss.pgh.pa.us>
2020-04-24 21:53 pgsql: Improve placement of "display name" comment in win32_tzmap[] ent Tom Lane <tgl@sss.pgh.pa.us>
2020-04-24 21:53 pgsql: Improve placement of "display name" comment in win32_tzmap[] ent Tom Lane <tgl@sss.pgh.pa.us>
2020-04-24 21:53 pgsql: Improve placement of "display name" comment in win32_tzmap[] ent Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox