Re: [HACKERS] Is it time to kill support for very old servers? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] Is it time to kill support for very old servers?
Date
Msg-id CAB7nPqTypgNCAp7xfe-qb_==+xo_c46u+BiuxT2EaYH7CxTY4Q@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Is it time to kill support for very old servers?  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] Is it time to kill support for very old servers?
List pgsql-hackers
On Mon, Sep 18, 2017 at 7:54 PM, Andres Freund <andres@anarazel.de> wrote:
>>It seems to me that you are looking more for a connection parameter
>>here.
>
> I'm not seeing a meaningful distinction here? Env vars and connection parameters are handled using the same framework
inlibpq.  And using the env var in the test would be better, because you'd only set one value - hard to do within our
nonTAP tests (i.e. in an existing psql, started by pg regress) otherwise. 

Or both? I don't really understand why an environment variable is
better than a connection string. For the TAP tests, you could just set
the base of the connection string once and you are done as well. See
the SSL tests for example.
--
Michael


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: [HACKERS] GatherMerge misses to push target list
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] Is it time to kill support for very old servers?