Connection lost notification

From: <lev(dot)bukovski(at)teliasonera(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Connection lost notification
Date: 2014-06-09 06:09:38
Message-ID: 619ABD714EEDD84E8E582E993559DB36142B15D9@EXMB12TSTRZ2.tcad.telia.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,
I am connecting PostgreSQL 9.3.4 over psqlodbc 9.3.3.
I am wondering is there any way to get notification from psqlodbc about connection down to database?

I found this event callback interface (int PQregisterEventProc(PGconn *conn, PGEventProc proc, const char *name, void *passThrough)) in the libpq, which I think makes what I need. Is there any way to do similar things over psqlodbc? Or is there any way to get PGconn* from psqlodbc, so I can call the PQregisterEventProc method?

Thanks in advance,
Lev Bukovski

Browse pgsql-odbc by date

  From Date Subject
Next Message Heikki Linnakangas 2014-06-09 07:09:55 Re: Removing support for < 7.4 servers
Previous Message Michael Paquier 2014-06-09 00:59:50 Re: Removing support for < 7.4 servers