NOTIFY connection lost

View: New views
1 Messages — Rating Filter:   Alert me  

NOTIFY connection lost

by Drago-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/


--
Sent via pgsql-interfaces mailing list (pgsql-interfaces@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces
LightInTheBox - Buy quality products at wholesale price!