Re: pg_upgrade: Make testing different transfer modes easier

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Daniel Gustafsson <daniel@yesql.se>
Date: 2022-12-14T07:04:29Z
Lists: pgsql-hackers

Attachments

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.

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. pg_upgrade: Add --copy option

  2. pg_upgrade: Make testing different transfer modes easier