pgsql: Make PostgreSQL::Test::Cluster::init_from_backup handle tablespa

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make PostgreSQL::Test::Cluster::init_from_backup handle tablespa
Date: 2024-04-19 17:29:53
Message-ID: E1rxs3c-002rcm-N0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make PostgreSQL::Test::Cluster::init_from_backup handle tablespaces.

This commit doesn't use this infrastructure for anything new, although
it does adapt 010_pg_basebackup.pl to use it. However, a future commit
will use this to improve test coverage for pg_combinebackup.

Patch by me, reviewed (but not fully endorsed) by Andres Freund.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6bf5c42b5546984df29289918f952e6211069c54

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 21 ++-----
src/test/perl/PostgreSQL/Test/Cluster.pm | 93 +++++++++++++++++++++++++---
2 files changed, 90 insertions(+), 24 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2024-04-19 17:42:12 pgsql: pg_combinebackup: Fix incorrect tablespace handling.
Previous Message Tomas Vondra 2024-04-19 14:09:28 pgsql: Add missing index_insert_cleanup calls