Re: Getting rid of regression test input/ and output/ files - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Getting rid of regression test input/ and output/ files
Date
Msg-id c700aea6-165a-3db0-b473-5e7a734b78d1@dunslane.net
Whole thread Raw
In response to Getting rid of regression test input/ and output/ files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 12/18/21 18:53, Tom Lane wrote:
>
> 2. Export the values from pg_regress as environment variables,
> and then add a way for the test scripts to read those variables.
> I was a bit surprised to realize that we didn't have any way
> to do that already --- psql has \setenv, so why did we never
> invent \getenv?


I don't recall anyone expressing a need for it at the time we added
\setenv.

+1 for adding it now.


cheers


andrew

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




pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: sequences vs. synchronous replication
Next
From: Tom Lane
Date:
Subject: Re: PublicationActions - use bit flags.