NOTIFY connection lost

From: Drago <kmakaron(at)mail(dot)bg>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: NOTIFY connection lost
Date: 2008-04-16 07:30:59
Message-ID: 20080416103059.t8kavljurockksg8@mail.bg
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Hello,
I have worked with PostgreSQL for quite some time, but recently I
wanted to use NOTIFY-LISTEN feature, and a problem arised. How does
it
is possible to know whether the server is just gone(e.g. cable
unplugned), during waiting for NOTIFY. I tryied several combinations

with select() with timeout and PQconsumeInput, but nothing worked.
Is anyone, has had such a problem?
Thank you

Dragomir

-------------------------------------

Вземи сега 6 Mbps за 20 лв./ мес.
или 12 Mbps за 25 лв./ мес.
Цена с ДДС при 1-годишен договор. За повече информация:www.btc.bg/adsl
http://www.btc.bg/bg/adsl/

Browse pgsql-interfaces by date

  From Date Subject
Next Message alexander lunyov 2008-04-23 14:24:52 Exceeded maximum lock level
Previous Message Drago 2008-04-15 15:00:31 NOTIFY connection lost