Re: Problem with dblink regression test

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with dblink regression test
Дата
Msg-id 22476.1119410497@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Problem with dblink regression test  (Joe Conway <mail@joeconway.com>)
Re: Problem with dblink regression test  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers
"Jim C. Nasby" <decibel@decibel.org> writes:
> It appears that the dblink regression test defaults to port 5432. I've
> been trying to get platypus to compile clean on HEAD and 8_0 and it's
> been failing on dblink.

There are several buildfarm machines failing like this.  I think a
possible solution is for the postmaster to do putenv("PGPORT=nnn")
so that libpq instances running in postmaster children will default
to the local installation's actual port rather than some compiled-in
default port.

This is certainly not without its downsides, but if you are running
a postmaster at a nondefault port then I think you ought to be aware
that leaving dblink to choose a default port is a fragile idea.

Thoughts?
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_terminate_backend idea
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_terminate_backend idea