Re: cross-platform pg_basebackup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cross-platform pg_basebackup
Дата
Msg-id 3057158.1666286886@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cross-platform pg_basebackup  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: cross-platform pg_basebackup  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Cool. Here's a patch.

LGTM, except I'd be inclined to ensure that all the macros
are function-style, ie

+#define IS_DIR_SEP(ch) IS_NONWINDOWS_DIR_SEP(ch)

not just

+#define IS_DIR_SEP IS_NONWINDOWS_DIR_SEP

I don't recall the exact rules, but I know that the second style
can lead to expanding the macro in more cases, which we likely
don't want.  It also seems like better documentation to show
the expected arguments.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: cross-platform pg_basebackup
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)