Command or Connection Timeout PGSQL
I have an desktop app runs with QT5.6 and PostgreSQL 9.5 under linux.. I have a problem that when I run a query from myclient and pull out ethernet cable application just freeze with no Error message.. After I plug in the Ethernet Cable.. After a while apllication starts to run..
How can I set QueryTimeout and connection time out with QT5.6 to postgreSQL ??
My application runs 7/24 so this is very important to me..
Nice Days & Regards..
AFAIK, you are looking for QSqlDatabase:: setConnectOptions.
Hope it helps
Thanks @SGaist you are the qtst man.. :)
You're welcome !
If that answers your question then please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :)