pgsql: Use Getopt::Long for catalog scripts - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Use Getopt::Long for catalog scripts
Date
Msg-id E1gtZwk-0005mC-2F@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Use Getopt::Long for catalog scripts  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-committers
Use Getopt::Long for catalog scripts

Replace hand-rolled option parsing with the Getopt module. This is
shorter and easier to read. In passing, make some cosmetic adjustments
for consistency.

Author: John Naylor
Reviewed-by: David Fetter
Discussion: https://postgr.es/m/CACPNZCvRjepXh5b2N50njN+rO_2Nzcf=jhMkKX7=79XWUKJyKA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fe33a196ded8565d0fd8367e816d695b840e40cb

Modified Files
--------------
src/backend/catalog/Makefile     |  8 ++-----
src/backend/catalog/genbki.pl    | 49 ++++++++++++----------------------------
src/backend/utils/Gen_fmgrtab.pl | 38 ++++++++++---------------------
src/backend/utils/Makefile       |  2 +-
4 files changed, 29 insertions(+), 68 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix erroneous error reports in snapbuild.c.
Next
From: Thomas Munro
Date:
Subject: Re: pgsql: Use Getopt::Long for catalog scripts