Re: [HACKERS] For review: Server instrumentation patch

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: [HACKERS] For review: Server instrumentation patch
Дата
Msg-id 42FD3393.7050402@pse-consulting.de
обсуждение исходный текст
Ответ на Re: [HACKERS] For review: Server instrumentation patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] For review: Server instrumentation patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:

>
>
> I don't assume people using psql will care about the current log files ---

Hm. Probably because you think these users will have direct file access?
Which in turn means they can edit *.conf directly too and don't need an
interface for that either.

> it would be something done in C or another application language.  Aren't
> the file names already ordered based on their file names, given the
> default pattern, postgresql-%Y-%m-%d_%H%M%S.log?

The issue is _filtering_, not ordering. Since the log directory might be
directed to a different location, non-pgsql logfiles might be there too.
You'd probably won't expect to retrieve these files over a pgsql connection.

Regards,
Andreas



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] For review: Server instrumentation patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] For review: Server instrumentation patch