]> granicus.if.org Git - postgresql/commit
Use Getopt::Long for catalog scripts
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 12 Feb 2019 14:53:36 +0000 (11:53 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 12 Feb 2019 15:22:08 +0000 (12:22 -0300)
commitfe33a196ded8565d0fd8367e816d695b840e40cb
tree6250100c4b22f7e42d5bcdbe6b68478f061e1772
parent232a8e233f21eb9a214c551d5a6af3d324915b4e
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
src/backend/catalog/Makefile
src/backend/catalog/genbki.pl
src/backend/utils/Gen_fmgrtab.pl
src/backend/utils/Makefile