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: Minor improvements for reformat_dat_file.pl.
Date: Fri, 08 Mar 2019 17:01:34 +0000
Message-ID: <E1h2IsI-0008Tm-DY@gemulon.postgresql.org> (raw)

Minor improvements for reformat_dat_file.pl.

Use Getopt::Long in preference to hand-rolled option parsing code.

Also, remove "-I .../backend/catalog" switch from the Makefile
invocations.  That's been unnecessary for some time, and leaving it
there gives the false impression it's needed in manual invocations.

John Naylor (extracted from a larger but more controversial patch)

Discussion: https://postgr.es/m/CACPNZCsHdcQN2jQ1=ptbi1Co2Nj3aHgRCUMk62=ThgWNabPY+Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27aaf6eff49a6348408476652911fe4acceffc71

Modified Files
--------------
src/include/catalog/Makefile             |  7 ++----
src/include/catalog/reformat_dat_file.pl | 43 +++++++++++---------------------
2 files changed, 16 insertions(+), 34 deletions(-)



Message-ID: <E1h2IsI-0008Tm-DY@gemulon.postgresql.org>
Permalink:  ../E1h2IsI-0008Tm-DY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h2IsI-0008Tm-DY@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: Minor improvements for reformat_dat_file.pl.
  In-Reply-To: <E1h2IsI-0008Tm-DY@gemulon.postgresql.org>
  References: <E1h2IsI-0008Tm-DY@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