Re: pg_upgrade: Make testing different transfer modes easier

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: pg_upgrade: Make testing different transfer modes easier
Date: 2022-12-14 07:04:29
Message-ID: f790f6a9-c3d8-f427-8837-2e8021ed771f@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07.12.22 17:33, Peter Eisentraut wrote:
> I think if we want to make this configurable on the fly, and environment
> variable would be much easier, like
>
>     my $mode = $ENV{PG_TEST_PG_UPGRADE_MODE} || '--copy';

Here is an updated patch set that incorporates this idea.

Attachment Content-Type Size
v2-0001-pg_upgrade-Add-copy-option.patch text/plain 2.7 KB
v2-0002-pg_upgrade-Make-testing-different-transfer-modes-.patch text/plain 2.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-12-14 07:31:02 Common function for percent placeholder replacement
Previous Message Amit Kapila 2022-12-14 06:48:41 Re: Perform streaming logical transactions by background workers and parallel apply