Re: multi-install PostgresNode - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: multi-install PostgresNode
Date
Msg-id b6fc7a5a-cd6d-5260-94ba-c117549e4d73@dunslane.net
Whole thread Raw
In response to Re: multi-install PostgresNode  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
List pgsql-hackers
On 3/24/21 7:54 AM, Dagfinn Ilmari Mannsåker wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>
>> And here it is. No subclass, no eval, no magic :-) Some of my colleagues
>> are a lot happier ;-)
>>
>> The downside is that we need to litter PostgresNode with a bunch of
>> lines like:
>>
>>     local %ENV = %ENV;
>>     _set_install_env($self);
> I think it would be even neater having a method that returns the desired
> environment and then have the other methods do:
>
>       local %ENV = $self->_get_install_env();


Yeah, that's nice. I'll do that. Thanks.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Date:
Subject: Re: multi-install PostgresNode
Next
From: Bruce Momjian
Date:
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?