]> granicus.if.org Git - postgresql/commit
Minor improvements for reformat_dat_file.pl.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Mar 2019 16:48:49 +0000 (11:48 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Mar 2019 16:48:49 +0000 (11:48 -0500)
commit27aaf6eff49a6348408476652911fe4acceffc71
tree7f4e066b48f614eca029eaa82622471cd618532b
parente1e0e8d58c5c70da92e36cb9d59c2f7ecf839e00
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
src/include/catalog/Makefile
src/include/catalog/reformat_dat_file.pl