Use Getopt::Long for catalog scripts
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/genbki.pl | modified | +14 −35 |
| src/backend/catalog/Makefile | modified | +2 −6 |
| src/backend/utils/Gen_fmgrtab.pl | modified | +12 −26 |
| src/backend/utils/Makefile | modified | +1 −1 |
Discussion
- use Getopt::Long for catalog scripts 7 messages · 2019-02-07 → 2019-02-12