pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_combinebackup: Fix incorrect tablespace handling.
Date: Fri, 19 Apr 2024 17:42:12 +0000
Message-ID: <E1rxsFX-002rha-I8@gemulon.postgresql.org> (raw)

pg_combinebackup: Fix incorrect tablespace handling.

The previous coding mangled the pathname calculation for
incremental files located in user-defined tablespaces.

Enhance the test cases to cover such cases, as I should have
done originally. Thanks to Andres Freund for alerting me to the
lack of test coverage.

Discussion: http://postgr.es/m/CA+TgmoYdXTjo9iQeoipTccDpWZzvBNS6EndY2uARM+T4yG_yDg@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/bin/pg_combinebackup/pg_combinebackup.c       |  2 +-
src/bin/pg_combinebackup/reconstruct.c            |  7 ++---
src/bin/pg_combinebackup/t/002_compare_backups.pl | 32 ++++++++++++++++++++---
3 files changed, 33 insertions(+), 8 deletions(-)



view thread (2+ messages)

Message-ID: <E1rxsFX-002rha-I8@gemulon.postgresql.org>
Permalink:  ../E1rxsFX-002rha-I8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rxsFX-002rha-I8@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_combinebackup: Fix incorrect tablespace handling.
  In-Reply-To: <E1rxsFX-002rha-I8@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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