Re: Problem with dblink regression test

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <decibel(at)decibel(dot)org>, <mail(at)joeconway(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem with dblink regression test
Date: 2005-06-22 03:26:31
Message-ID: 3614.24.211.165.134.1119410791.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane said:
> "Jim C. Nasby" <decibel(at)decibel(dot)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.
>

This seems to be my day for getting confused.

If this diagnosis were correct, wouldn't every buildfarm member be failing
at the ContribCheck stage (if they get that far)? They all run on non
standard ports and all run the contrib installcheck suite if they can (this
is required, not optional). So if they show OK then they do not exhibit the
problem.

Also, while the PGPORT=nnnn trick looks sort of OK, we need to check it will
work on Windows - I am far from sure it will.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-22 03:34:28 Re: pg_terminate_backend idea
Previous Message Tom Lane 2005-06-22 03:21:37 Re: Problem with dblink regression test

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2005-06-22 03:49:12 Re: Problem with dblink regression test
Previous Message Tom Lane 2005-06-22 03:21:37 Re: Problem with dblink regression test