pgsql: Make reformat_dat_file.pl preserve all blank lines.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make reformat_dat_file.pl preserve all blank lines.
Date: 2018-04-09 19:01:17
Message-ID: E1f5c2X-0001vN-1K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make reformat_dat_file.pl preserve all blank lines.

In its original form, reformat_dat_file.pl smashed consecutive blank
lines to a single blank line, which was helpful for mopping up excess
whitespace during the bootstrap data format conversion. But going
forward, there seems little reason to do that; if developers want to
put in multiple blank lines, let 'em. This makes it conform to the
documentation I (tgl) wrote, too.

In passing, clean up some sloppy markup choices in bki.sgml.

John Naylor

Discussion: https://postgr.es/m/28827.1523039259@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2cdf359fc4471c488fbb0dbd31678d78c3c1043b

Modified Files
--------------
doc/src/sgml/bki.sgml | 14 ++++++--------
src/include/catalog/reformat_dat_file.pl | 11 ++---------
2 files changed, 8 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2018-04-09 19:36:41 pgsql: Make sure pg_rewind can't run as root
Previous Message Tom Lane 2018-04-09 18:40:06 pgsql: Further cleanup of client dependencies on src/include/catalog he