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: Tweak reformat_dat_file.pl to make it more easily hand-invokable
Date: Sat, 28 Apr 2018 20:09:11 +0000
Message-ID: <E1fCW9f-00023r-1W@gemulon.postgresql.org> (raw)

Tweak reformat_dat_file.pl to make it more easily hand-invokable.

Use the same code we already applied in duplicate_oids and unused_oids
to let this script find Catalog.pm without help.  This removes the need
to supply a -I switch in most cases.

Also, mark the script executable, again to follow the precedent of
duplicate_oids and unused_oids.  Now you can just do
"./reformat_dat_file.pl pg_proc.dat"
if you want to reformat only one or a few .dat files rather than all.

It'd be possible to remove the -I switches in the Makefile's convenience
targets, but I chose to leave them: they don't hurt anything, and it's
possible that in weird VPATH situations they might be of value.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/84549ebd4c4d1941006056cfb2455a4983fb15a2

Modified Files
--------------
doc/src/sgml/bki.sgml                    |  2 +-
src/include/catalog/reformat_dat_file.pl | 26 ++++++++++++++------------
2 files changed, 15 insertions(+), 13 deletions(-)



Message-ID: <E1fCW9f-00023r-1W@gemulon.postgresql.org>
Permalink:  ../E1fCW9f-00023r-1W@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fCW9f-00023r-1W@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: Tweak reformat_dat_file.pl to make it more easily hand-invokable
  In-Reply-To: <E1fCW9f-00023r-1W@gemulon.postgresql.org>
  References: <E1fCW9f-00023r-1W@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