pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make reformat_dat_file.pl preserve all blank lines.
Date: Mon, 09 Apr 2018 19:01:17 +0000
Message-ID: <E1f5c2X-0001vN-1K@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1f5c2X-0001vN-1K@gemulon.postgresql.org>
Permalink:  ../E1f5c2X-0001vN-1K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f5c2X-0001vN-1K@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Make reformat_dat_file.pl preserve all blank lines.
  In-Reply-To: <E1f5c2X-0001vN-1K@gemulon.postgresql.org>
  References: <E1f5c2X-0001vN-1K@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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