Re: Order getopt arguments

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Order getopt arguments
Дата
Msg-id 3304612.1670256819@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Order getopt arguments  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Order getopt arguments  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Error-safe user functions
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pg_dump: Remove "blob" terminology