Re: Syslog Facility Patch

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: Syslog Facility Patch
Дата
Msg-id 20001112154022.A3850@lerami.lerctr.org
обсуждение исходный текст
Ответ на Re: Syslog Facility Patch  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: Syslog Facility Patch  (Larry Rosenman <ler@lerctr.org>)
Re: Syslog Facility Patch  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
* Larry Rosenman <ler@lerctr.org> [001112 14:02]:
> OK, I don't like it (it just says "syntax error"), but here is an
> improved version.  I also switched to strcasecmp...
In looking at this some more, it appears that *SOMETHING* is not
allowing messages from set_config_option() in
/src/backend/utils/misc/guc.c out WHEN WE ARE DEALING WITH syslog type
stuff and we are reading it from the postgresql.conf file.  I'm not
sure how to deal with this..  I set syslog=2 then syslog_facility to 
some invalid value, and all I get is the syntax error message, not the 
"option rejects value" message. 

Anyone got any ideas? 

Oh, delete the elog() and fprintf() before you commit my patch (in
check_facility() in guc.c), please. 


-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Syslog Facility Patch
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Syslog Facility Patch