pgsql: pg_basebackup: Fix cross-platform tablespace relocation.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
Дата
Msg-id E1olrrz-0009qL-7D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_basebackup: Fix cross-platform tablespace relocation.

Specifically, when pg_basebackup is invoked with -Tx=y, don't error
out if x could plausibly be an absolute path either on Windows or on
non-Windows systems. We don't know whether the remote system is
running the same OS as the local system, so it's not appropriate to
assume that our local rule about absolute pathnames is the same as
the rule on the remote system.

Patch by me, reviewed by Tom Lane, Andrew Dunstan, and
Davinder Singh.

Discussion: http://postgr.es/m/CA+TgmoY+jC3YiskomvYKDPK3FbrmsDU7_8+wMHt02HOdJeRb0g@mail.gmail.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/38214dabd4255bab996421f50937ad51e3d2ed7e

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 20 +++++++++++++++-----
src/include/port.h                    | 34 +++++++++++++++++++---------------
2 files changed, 34 insertions(+), 20 deletions(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Add CHECK_FOR_INTERRUPTS while restoring changes during decoding
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Improve memory handling across SQL-callable backup functions