Re: [HACKERS] For review: Server instrumentation patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] For review: Server instrumentation patch
Дата
Msg-id 2077.1123885316@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] For review: Server instrumentation patch  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-patches
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> So how would your query to display all all available _logfiles_
> look like?

I think it's perfectly reasonable to assume that all the files in the
log directory are logfiles --- more so than assuming that the admin
hasn't exercised his option to change the log filename pattern, anyway.

I also don't have a problem with using the file mod times to sort them.
Yes, you can break that if you go and poke the files --- but there's no
reason to do so, whereas there are many reasons for changing the log
filename pattern.

            regards, tom lane

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

Предыдущее
От: Mark Wong
Дата:
Сообщение: Re: [HACKERS] Autovacuum loose ends
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Autovacuum loose ends