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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Getting rid of regression test input/ and output/ files
Дата
Msg-id 60282f3f-c0d9-2061-0db5-32ae9333a116@enterprisedb.com
обсуждение исходный текст
Ответ на Getting rid of regression test input/ and output/ files  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Getting rid of regression test input/ and output/ files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 19.12.21 00: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?

You can do

\set foo `echo $ENVVAR`

but that's probably not portable enough for your purpose.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PublicationActions - use bit flags.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Is my home $HOME or is it getpwent()->pw_dir ?