> On 19 Dec 2022, at 01:39, Shinoda, Noriyoshi (PN Japan FSIP)
> wrote:
> With the addition of --copy option, pg_upgrade now has three possible
> transfer mode options. Currently, an error does not occur even if multiple
> transfer modes are specified. For example, we can also run "pg_upgrade
: Peter Eisentraut
Sent: Saturday, December 17, 2022 2:44 AM
To: Daniel Gustafsson
Cc: PostgreSQL Hackers
Subject: Re: pg_upgrade: Make testing different transfer modes easier
On 14.12.22 10:40, Daniel Gustafsson wrote:
>> On 14 Dec 2022, at 08:04, Peter Eisentraut
>> wrote:
>>
&
On 14.12.22 10:40, Daniel Gustafsson wrote:
On 14 Dec 2022, at 08:04, Peter Eisentraut
wrote:
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}
> On 15 Dec 2022, at 01:56, Kyotaro Horiguchi wrote:
>
> At Wed, 14 Dec 2022 10:40:45 +0100, Daniel Gustafsson wrote
> in
>>> On 14 Dec 2022, at 08:04, Peter Eisentraut
>>> wrote:
>>>
>>> On 07.12.22 17:33, Peter Eisentraut wrote:
I think if we want to make this configurable on the fly
At Wed, 14 Dec 2022 10:40:45 +0100, Daniel Gustafsson wrote
in
> > On 14 Dec 2022, at 08:04, Peter Eisentraut
> > wrote:
> >
> > 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
>
> On 14 Dec 2022, at 08:04, Peter Eisentraut
> wrote:
>
> 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 up
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.From c0f72bb9f50a36bc1589
On 02.12.22 13:04, Daniel Gustafsson wrote:
Wouldn't it be possible, and less change-code-manual, to accept this via an
extension to PROVE_FLAGS? Any options after :: to prove are passed to the
test(s) [0] so we could perhaps inspect @ARGV for the mode if we invent a new
way to pass arguments.
On 02.12.22 01:56, Kyotaro Horiguchi wrote:
also thought about something like a "mode" option with an argument,
but given that we already have --link and --clone, this seemed the
most sensible.)
Thoughts?
When I read up to the point of the --copy option, what came to my mind
was the --mode= op
> On 1 Dec 2022, at 16:18, Peter Eisentraut
> wrote:
>
> I wanted to test the different pg_upgrade transfer modes (--link, --clone),
> but that was not that easy, because there is more than one place in the test
> script you have to find and manually change. So I wrote a little patch to
> ma
At Thu, 1 Dec 2022 16:18:21 +0100, Peter Eisentraut
wrote in
> I wanted to test the different pg_upgrade transfer modes (--link,
> --clone), but that was not that easy, because there is more than one
> place in the test script you have to find and manually change. So I
> wrote a little patch to
11 matches
Mail list logo