Re: Brittleness in regression test setup

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Brittleness in regression test setup
Дата
Msg-id 492E913F.8070207@gmx.net
обсуждение исходный текст
Ответ на Re: Brittleness in regression test setup  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления: