| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use Getopt::Long for catalog scripts |
| Date: | 2019-02-12 15:26:06 |
| Message-ID: | E1gtZwk-0005mC-2F@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Munro | 2019-02-12 21:05:54 | Re: pgsql: Use Getopt::Long for catalog scripts |
| Previous Message | Tom Lane | 2019-02-12 06:13:17 | pgsql: Fix erroneous error reports in snapbuild.c. |