Darn, long option emulation doesn't work on FreeBSD

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Darn, long option emulation doesn't work on FreeBSD
Дата
Msg-id Pine.LNX.4.21.0011062154230.776-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Darn, long option emulation doesn't work on FreeBSD  ("Dominic J. Eidson" <sauron@the-infinite.org>)
Список pgsql-hackers
The long option emulation getopt(argc, argv, "...xy:-:") doesn't work on
FreeBSD (and who knows where else), it throws away options of the form
'--foo'.  That means you cannot specify postmaster options like
--log-pids, etc. on the command line.  Also, the --version option doesn't
work, which may cause initdb to fail for you.

So apparently we'll have to use an actual option letter for passing
runtime configuration parameters.  Any suggestions?  Already in use are

a A b B C d D e E f F i l L m M n N o O p P Q s S t v W x

'V' will be used as short form for "version".  My early favourite is '-c'.  
(Using non-letters is probably not portable either.)

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Timothy H. Keitt"
Дата:
Сообщение: Location of client header files
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: RE: [COMMITTERS] pgsql/src/backend/access/transam (xact.c xlog.c)