Re: ECPG installcheck tests fail if PGDATABASE is set

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ECPG installcheck tests fail if PGDATABASE is set
Дата
Msg-id 14809.1521414378@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ECPG installcheck tests fail if PGDATABASE is set  (Andres Freund <andres@anarazel.de>)
Ответы Re: ECPG installcheck tests fail if PGDATABASE is set
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> I got a bit confused running installcheck-world and seeing ecpg
> failures like:
> ...
> A bit of pondering pointed me towards my environment's
> PGDATABASE=postgres being to blame. Unsetting that makes the test
> succeed.

Hm ... pg_regress unsets PGDATABASE, along with the other related
environment variables, when it has a temp installation but not
when it doesn't.  So what I don't understand is why your environment
doesn't also break every other regression test besides ecpg.
Perhaps they're all connecting to "postgres", but it's hard to
believe there wouldn't be conflicts if so.

            regards, tom lane


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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Online enabling of checksums
Следующее
От: Andres Freund
Дата:
Сообщение: Re: ECPG installcheck tests fail if PGDATABASE is set