Robert Haas <[email protected]> writes:
> On Thu, Dec 5, 2013 at 6:15 PM, Tom Lane <[email protected]> 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


-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to