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

From Tom Lane
Subject Re: Getting rid of regression test input/ and output/ files
Date
Msg-id 2377176.1640012965@sss.pgh.pa.us
Whole thread Raw
In response to Re: Getting rid of regression test input/ and output/ files  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> On 19.12.21 00:53, Tom Lane wrote:
>> 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?

> You can do
> \set foo `echo $ENVVAR`
> but that's probably not portable enough for your purpose.

I suppose that wouldn't work on Windows, so no.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: Is my home $HOME or is it getpwent()->pw_dir ?
Next
From: Robert Haas
Date:
Subject: Re: Add id's to various elements in protocol.sgml