Re: use Getopt::Long for catalog scripts

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: John Naylor <john.naylor@2ndquadrant.com>
Cc: David Fetter <david@fetter.org>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-02-12T15:11:55Z
Lists: pgsql-hackers
On 2019-Feb-08, John Naylor wrote:

> On Thu, Feb 7, 2019 at 6:53 PM David Fetter <david@fetter.org> wrote:
> > [some style suggestions]
> 
> I've included these in v2, and also some additional tweaks for consistency.

I noticed that because we have this line in the scripts,
  BEGIN  { use lib File::Spec->rel2abs(dirname(__FILE__)); }
the -I switch to Perl is no longer needed in the makefiles.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Use Getopt::Long for catalog scripts