Re: Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]
Дата
Msg-id 20001231122333C.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> Hmm, do you have an environment definition for PGPORT?
>
> I notice that pg_regress.sh contains
>
>     export PGPORT
>
> but it doesn't necessarily set any value for PGPORT.  It seems possible
> that some shells may take this as license to invent an empty-string
> value for PGPORT, which would cause libpq to think that port 0 is being
> specified.
>
> My feeling is that libpq ought to ignore an empty-string PGPORT
> environment value, rather than treat it as selecting port 0.
> Comments anyone?

Agreed. I have already committed changes to ignore empty-string pgport
paramter of PQsetdbLogin(). Same thing should be applied to PGPORT
environment variable too, I think.
--
Tatsuo Ishii

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

Предыдущее
От: "Thomas T. Thai"
Дата:
Сообщение: Re: NetBSD/Alpha and PostgreSQL-current [was Re: NetBSD/Alpha and rkirkpat's patch]
Следующее
От: Tom Lane
Дата:
Сообщение: Re: NetBSD/Alpha and rkirkpat's patch [was Re: regress failed tests.. SERIOUS?]