Re: Order getopt arguments
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-12-05T16:13:39Z
Lists: 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
Commits
-
Order getopt arguments
- df8b8968d409 16.0 landed