Re: A micro-optimisation for walkdir()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A micro-optimisation for walkdir()
Дата
Msg-id 1504075.1599431774@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: A micro-optimisation for walkdir()  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: A micro-optimisation for walkdir()
Список pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> Excellent.  I'd like to commit these soon, unless someone has a better
> idea for how to name file_utils_febe.c.

As long as it's in src/port or src/common, isn't it implicit that
it's probably FE/BE common code?

I think it'd make more sense to insert all this stuff into file_utils.c,
and then just "#ifdef FRONTEND" the existing code there that doesn't work
in backend.  For one thing, that gives us a saner upgrade path whenever
somebody gets ambitious enough to make that code work for the backend.

            regards, tom lane



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: A micro-optimisation for walkdir()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch