Re: [PATCHES] serverlog function (log_destination file)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] serverlog function (log_destination file)
Дата
Msg-id 200406102037.i5AKbQG26288@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] serverlog function (log_destination file)  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: [PATCHES] serverlog function (log_destination file)  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
Andreas Pflug wrote:
> Tom Lane wrote:
>
> >Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >
> >
> >>Looks good to me.  The only issue I saw was that the default file name
> >>mentioned in postgresql.conf doesn't match the actual default.
> >>
> >>
> >
> >I'm really not happy with the concept that the postmaster overrides
> >its stderr direction.
> >
> >
> >
> I agree, that's why I implemented it as *additional* log_destination.

One idea would be to send a message to stderr when this option is used
stating that everything is going to 'filename'.

Also can we close/reopen the file on SIGHUP. My guess is we can't
because of all the backends accessing the output file.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: [PATCHES] serverlog function (log_destination file)
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: [PATCHES] serverlog function (log_destination file)