Re: cross-platform pg_basebackup

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: cross-platform pg_basebackup
Дата
Msg-id CA+TgmoYqFAvs1hZOqgcRyi0Ecu7A+wQQ7yc=Sd8U2O4SwfHDHg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: cross-platform pg_basebackup  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: cross-platform pg_basebackup
Список pgsql-hackers
On Thu, Oct 20, 2022 at 12:17 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > However, I think we could relax the check a little bit, something
> > along the lines of !is_nonwindows_absolute_path(cell->old_dir) &&
> > !is_windows_absolute_path(dir). We can't actually know whether the
> > remote side is Windows or non-Windows, but if the string we're given
> > is plausibly an absolute path under either set of conventions, it's
> > probably fine to just search the list for it and see if it shows up.
>
> Seems reasonable.

Cool. Here's a patch.

-- 
Robert Haas
EDB: http://www.enterprisedb.com

Вложения

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

Предыдущее
От: sirisha chamarthi
Дата:
Сообщение: Re: Fix GetWALAvailability function code comments for WALAVAIL_REMOVED return value
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cross-platform pg_basebackup