Re: Order getopt arguments - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Order getopt arguments
Date
Msg-id 3304612.1670256819@sss.pgh.pa.us
Whole thread Raw
In response to Re: Order getopt arguments  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Order getopt arguments  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> +1 for Peter's proposal to just alphabetize. That's easy to maintain,
> at least in theory.

Agreed for single-letter options.  Long options complicate matters:
are we going to order their code stanzas by the actual long name, or
by the character/number returned by getopt?  Or are we going to be
willing to repeatedly renumber the assigned codes to keep those the
same?  I don't think I want to go that far.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Error-safe user functions
Next
From: Robert Haas
Date:
Subject: Re: pg_dump: Remove "blob" terminology