Re: pg_archivecleanup bug

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_archivecleanup bug
Дата
Msg-id CA+TgmoYOYF8Er0S2ZBxXTr=OEE0Q1GCX=OZDZC7OuwGG7PxA-g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_archivecleanup bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_archivecleanup bug
Список pgsql-hackers
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.

I agree that sucks.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Time-Delayed Standbys
Следующее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Time-Delayed Standbys