Re: Problem with dblink regression test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problem with dblink regression test
Date
Msg-id 22476.1119410497@sss.pgh.pa.us
Whole thread Raw
Responses Re: Problem with dblink regression test
Re: Problem with dblink regression test
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_terminate_backend idea
Next
From: Tom Lane
Date:
Subject: Re: pg_terminate_backend idea