Re: Keep-alive?

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Keep-alive?
Дата
Msg-id 3F86B6BA.1010309@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Keep-alive?  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgadmin-support
Dave Page wrote:

>
>Anyway, the reason I posted the patch was to gather ideas and feedback,
>not to propose it as a final solution (as your initial comments indicate
>you thought). I don't see any way to implement this cleanly at this
>layer now so unless you or anyone else has any bright ideas I'll scrub
>it from the todo list as unworkable, and move one...
>  
>

pgAdmin3 is just another app, concerning the database connection. So if 
pgAdmin3 suffers from broken links, any other libpq app would too. It 
would make sense to implement this in libpq.
If we wanted to implement this in pgAdmin3, we'd need a global keepalive 
thread, scanning all connections if a keep alive query is needed, 
interlocking with a semaphor to prevent interference with wanted 
queries. This thread also could silently handle reconnects.


Regards,
Andreas




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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Keep-alive?
Следующее
От: Raphaël Enrici
Дата:
Сообщение: Re: Cannot compile