From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: multi-install PostgresNode |
Date: | 2021-01-13 12:56:47 |
Message-ID: | 236da960-6282-35a3-efe8-a15c2b6850f0@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 1/11/21 9:34 AM, Peter Eisentraut wrote:
> On 2020-12-20 18:09, Andrew Dunstan wrote:
>> On 12/19/20 11:19 AM, Andrew Dunstan wrote:
>>> This turns out to be remarkably short, with the use of a little eval
>>> magic.
>>>
>>> Give the attached, this test program works just fine:
>>>
>>> #!/bin/perl
>>> use PostgresNodePath;
>>> $ENV{PG_REGRESS} =
>>> '/home/andrew/pgl/vpath.12/src/test/regress/pg_regress';
>>> my $node = get_new_node('/home/andrew/pgl/inst.12.5711','blurfl');
>>> print $node->info;
>>> print $node->connstr(),"\n";
>>> $node->init();
>>
>>
>> This time with a typo removed.
>
> What is proposed the destination of this file? Is it meant to be part
> of a patch? Is it meant to be installed? Is it meant for the
> buildfarm code?
Core code, ideally. I will submit a patch.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2021-01-13 12:58:30 | Re: support for MERGE |
Previous Message | Tomas Vondra | 2021-01-13 12:43:31 | Re: support for MERGE |