pgsql: Use Getopt::Long for catalog scripts

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Use Getopt::Long for catalog scripts
Дата
Msg-id E1gtZwk-0005mC-2F@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Use Getopt::Long for catalog scripts
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix erroneous error reports in snapbuild.c.
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: pgsql: Use Getopt::Long for catalog scripts