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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -