Re: A single escape required for log_filename

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: A single escape required for log_filename
Дата
Msg-id 496D56EE.4050401@dunslane.net
обсуждение исходный текст
Ответ на Re: A single escape required for log_filename  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: A single escape required for log_filename  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: A single escape required for log_filename  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers

Stephen Frost wrote:
>> Surely a good log rotator allows a custom rotation action (in this case,  
>> connecting to postgres and calling 'select pg_rotate_logfile()' )
>>     
>
> Yes, logrotate will happily call external applications.  Maybe I'm
> missing something, but obviously if PG can't be configured with a fixed
> filename, pg_rotate_logfile() doesn't help the situation.
>
>     
>   

I should think a good rotator tool didn't need a fixed filename either.

I'm not sure what postgres does if the filename contains %% as the only 
escape, although that's would be a fairly ugly hack.

cheers

andrew


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

Предыдущее
От: KaiGai Kohei
Дата:
Сообщение: Re: New patch for Column-level privileges
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: New patch for Column-level privileges