[odb-users] ODB and the PostgreSQL asynchronous notification
facility
Boris Kolpackov
boris at codesynthesis.com
Tue Apr 30 09:07:12 EDT 2013
Hi Hugo,
Hugo.Mildenberger at web.de <Hugo.Mildenberger at web.de> writes:
> Would it be possible to extend the PostgreSQL-specific ODB connection
> object to make it aware of asynchronous messages and call a virtual
> method upon arrival?
You can already do this. You can derive a custom version of the connection
class and you have access to the underlying connection handle. So you can
implement whatever logic you need. See pooled_connection as an example.
Boris
More information about the odb-users
mailing list