Re: PQconnectStart() and -EINTR

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQconnectStart() and -EINTR
Дата
Msg-id 21649.1003946964@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PQconnectStart() and -EINTR  (David Ford <david@blue-labs.org>)
Список pgsql-hackers
David Ford <david@blue-labs.org> writes:
> I've got a bit of a problem.  I added a fast SIGALRM handler in my 
> project to do various maintenance and this broke PQconnectStart().

It'd probably be reasonable to just retry the connect() call if it
fails with EINTR.  If that works for you, send a patch...
        regards, tom lane


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