Re: Getting rid of regression test input/ and output/ files

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Getting rid of regression test input/ and output/ files
Date: 2021-12-20 15:09:25
Message-ID: 2377176.1640012965@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)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

In response to

Browse pgsql-hackers by date

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