use Getopt::Long for catalog scripts

From: John Naylor <john(dot)naylor(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: use Getopt::Long for catalog scripts
Date: 2019-02-07 09:09:08
Message-ID: CACPNZCvRjepXh5b2N50njN+rO_2Nzcf=jhMkKX7=79XWUKJyKA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
use-getopt-for-catalog-scripts.patch text/x-patch 5.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2019-02-07 09:12:37 Re: Connection slots reserved for replication
Previous Message Pavel Stehule 2019-02-07 09:08:35 Re: ToDo: show size of partitioned table