pg_upgrade and PGPORT

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pg_upgrade and PGPORT
Дата
Msg-id 1305135398.8811.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: pg_upgrade and PGPORT
Список pgsql-hackers
pg_upgrade is a bit schizophrenic concerning the PGPORT environment
variable.  On the one hand, there is this code in option.c that wants to
make use of it:
   old_cluster.port = getenv("PGPORT") ? atoi(getenv("PGPORT")) : DEF_PGPORT;   new_cluster.port = getenv("PGPORT") ?
atoi(getenv("PGPORT")): DEF_PGPORT;
 
On the other hand, check.c will reject a set PGPORT because it's a libpq
environment variable.  Should we make an exception for PGPORT, like we
did for PGCLIENTENCODING?




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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Standbys which don't synch to disk?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: hint bit cache v5