pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
7+ messages / 1 participants
[nested] [flat]

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/aaad8adb02ed20ebff9b60f1778d4a80d76e77c1

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5c013e620c911d728f653785843eb3c272c43538

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f0c4fa255253d223447c2383ad2b384a6f05854

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ba58266eb8dbe56f5dd48dc584816104343ffe85

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0bf2cd1602b12fef2af74e1bd8b097cf8319ee66

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: pg_basebackup: Fix cross-platform tablespace relocation.
@ 2022-10-21 13:15  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Robert Haas @ 2022-10-21 13:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/475e9daf39799b7ae160753761318193480d5942

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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2022-10-21 13:15 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>
2022-10-21 13:15 pgsql: pg_basebackup: Fix cross-platform tablespace relocation. Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox