Re: syslog by default?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: syslog by default?
Дата
Msg-id Pine.LNX.4.30.0109111455400.680-100000@peter.localdomain
обсуждение исходный текст
Ответ на syslog by default?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: syslog by default?
Список pgsql-hackers
Tatsuo Ishii writes:

> There was a discussion about --enable-syslog by default. What was the
> consensus? I think this is a good one.

It would be a good one if we make the blind assumption that syslog()
exists on all platforms.  That is possible, but not guaranteed.  (BeOS,
QNX, Cygwin?)

The alternative suggestion to turn it off if syslog() is not found makes
me wary.  These schemes have invariably lead to problems in the past.
Recall libpq++ being missed because of false test results, readline
support mysteriously disappearing and nobody noticing until Mandrake had
shipped their CDs.  There are possible scenarios where syslog support
could be missed by configure, such as when you need some compat or bsd
library.

An alternative scheme I wanted to implement for readline is

--enable-foo => force feature to be used
--disable-foo => force feature not to be used
<nothing> => use feature if available

but I'm afraid that this would create more confusion than it's worth
because a prudent user would specify --enable-foo anyway.

I'd rather type a few more things and get predictable behavior from
configure rather than relying on it to pick the features for me.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: x = NULL
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: enable-unicode-conversion option?