Re: Brittleness in regression test setup - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Brittleness in regression test setup
Date
Msg-id 492E913F.8070207@gmx.net
Whole thread Raw
In response to Re: Brittleness in regression test setup  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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.


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: we begin "pg external table" need your advice
Next
From: "Robert Haas"
Date:
Subject: Re: Fwd: [PATCHES] Auto Partitioning Patch - WIP version 1