Re: [HACKERS] pg_basebackup fails on Windows when using tablespace mapping

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] pg_basebackup fails on Windows when using tablespace mapping
Дата
Msg-id CAB7nPqQiBr+_S0A36DnrZB2Ms-zVAb5=8B78+m2HNPa=xztnDQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_basebackup fails on Windows when using tablespace mapping  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Ответы Re: [HACKERS] pg_basebackup fails on Windows when using tablespace mapping  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Список pgsql-hackers
On Tue, Jun 27, 2017 at 7:46 PM, Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
> I am still seeing the issue with the attached patch. I had a quick
> look into the patch. It seems to me like you have canonicalized the
> tablespace path to convert win32 slashes to unix type of slashes but
> that is not being passed to strcmp() function and probably that could
> be the reason why the issue is still existing. Thanks.
>
>         for (cell = tablespace_dirs.head; cell; cell = cell->next)
> -               if (strcmp(dir, cell->old_dir) == 0)
> +               if (strcmp(canon_dir, cell->old_dir) == 0)

Thanks. I had the correct version on my Windows box actually, just
messed up the attachment.
-- 
Michael

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

Вложения

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

Предыдущее
От: Yugo Nagata
Дата:
Сообщение: Re: [HACKERS] pg_terminate_backend can terminate background workersand autovacuum launchers
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Pluggable storage