From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Brittleness in regression test setup |
Date: | 2008-11-27 12:23:27 |
Message-ID: | 492E913F.8070207@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alvaro Herrera wrote:
>> Well, duh, the checking is actually pretty simple. We just try to
>> connect with psql to the candidate port number before starting our own
>> postmaster and see if anyone is already there.
>
> But what if something else is using the port? I think you could attempt
> a bare connect().
Well, that goes beyond the scope of my original problem, which is that
the regression tests will silently run against a different installation.
If you run psql against a non-PostgreSQL server, you will hopefully
see more obvious failures. We could add this in the future, if there
are complaints from the field.
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2008-11-27 13:07:51 | Re: Fwd: [PATCHES] Auto Partitioning Patch - WIP version 1 |
Previous Message | Peter Eisentraut | 2008-11-27 12:20:05 | Re: we begin "pg external table" need your advice |