Re: regresssion script hole

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: regresssion script hole
Дата
Msg-id 4495CDA1.3000802@dunslane.net
обсуждение исходный текст
Ответ на Re: regresssion script hole  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: regresssion script hole  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.net> writes:
>  
>
>>The problem is that if the postmaster takes more than 60 seconds to 
>>start listening (as is apparently happening on spoonbill - don't yet 
>>know why) this code falls through.
>>    
>>
>
>If the postmaster takes that long to start listening, I'd say we need to
>fix the postmaster not pg_regress.
>
>  
>

We need both, I think. I am still trying to find out why it's taking so 
long. This is on the 8.0 branch, though. Later branches seem to be working.

>>I'm inclined to run the psql test one more time to make sure we can 
>>actually connect, and if not then fail at this point.
>>    
>>
>
>How does that differ from just iterating the loop one more time?
>  
>

There is no guarantee that at the end of the loop we have connected 
successfully to postgres.

I will post a patch that shows what I suggest.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: regresssion script hole
Следующее
От: Tom Lane
Дата:
Сообщение: Re: regresssion script hole