use Getopt::Long for catalog scripts
John Naylor <john.naylor@2ndquadrant.com>
From: John Naylor <john.naylor@2ndquadrant.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-02-07T09:09:08Z
Lists: pgsql-hackers
Attachments
- use-getopt-for-catalog-scripts.patch (text/x-patch) patch
This was suggested in https://www.postgresql.org/message-id/11766.1545942853%40sss.pgh.pa.us I also adjusted usage() to match. There might be other scripts that could use this treatment, but I figure this is a good start. -- John Naylor https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Use Getopt::Long for catalog scripts
- fe33a196ded8 12.0 landed