pg_upgrade test picks up unwanted environment values

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pg_upgrade test picks up unwanted environment values
Дата
Msg-id 50B61E2E.6010409@dunslane.net
обсуждение исходный текст
Список pgsql-hackers
I noticed yesterday while doing some buildfarm tinkering that the test 
script for pg_upgrade doesn't unset various important environment values 
as pg_regress does. This can cause it to fail e.g. is PGUSER is set, as 
it was with my testing.

I propose to add this to the script unless there are objections:
   unset PGDATABASE   unset PGUSER   unset PGSERVICE   unset PGSSLMODE   unset PGREQUIRESSL   unset PGCONNECT_TIMEOUT
unsetPGHOST   unset PGHOSTADDR
 


cheers

andrew



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Further pg_upgrade analysis for many tables
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Review: Extra Daemons / bgworker