| От | Andreas Pflug |
|---|---|
| Тема | Re: [HACKERS] For review: Server instrumentation patch |
| Дата | |
| Msg-id | 42FC87D6.6040107@pse-consulting.de обсуждение исходный текст |
| Ответ на | Re: [HACKERS] For review: Server instrumentation patch (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: [HACKERS] For review: Server instrumentation patch
|
| Список | pgsql-patches |
Bruce Momjian wrote:
>
> I did not include pg_logdir_ls because that was basically pg_ls_dir with
> logic to decode the log file name and convert it to a timestamp. That
> seemed best done in the client.
IMHO omitting pg_logdir_ls is a bad idea, because the function is
intended to hide server internal's naming scheme from the user. We want
as few server side implementation specific client side code as possible.
In addition, pg_logdir_ls filters files that are not log files.
You'll probably have trouble writing a query that performes this task.
Regards,
Andreas
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера