| От | Tom Lane |
|---|---|
| Тема | Re: pg_archivecleanup bug |
| Дата | |
| Msg-id | 11304.1386346227@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pg_archivecleanup bug (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: pg_archivecleanup bug
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Dec 5, 2013 at 6:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> In general, I think there is no excuse for code in the backend to use
>> readdir() directly; it should be using ReadDir(), which takes care of this
>> as well as error reporting.
> My understanding is that the fd.c infrastructure can't be used in the
> postmaster.
Say what? See ParseConfigDirectory for code that certainly runs in the
postmaster, and uses ReadDir().
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера