c++ - How to register a DB failover callback in SOCI? -


i connect database using soci library , want obtain database fail-over events logging purposes. i'm not sure interface implement , how callback registration. there such support in soci?

the failover notifications supported soci connections.

the failover_callback interface can used callback channel notifications of events automatically processed when session forcibly closed due connectivity problems.

see interface details @ https://github.com/soci/soci/blob/master/docs/connections.md


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -