Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SQL statements timeout in Linux (bug?)
Re: SQL statements timeout in Linux (bug?) [message #50432 is a reply to message #50414] Tue, 30 October 2018 13:05 Go to previous messageGo to previous message
Giorgio is currently offline  Giorgio
Messages: 218
Registered: August 2015
Experienced Member
Hi there,
I performed some further tests and I can confirm that there are some glitches in the Postgresql management.

As described before, I have abnormally long waiting time when I try to save or retrieve data from Postgresql. This usually happens with a wifi connection: if the connection is down for some reason, my application hangs for a very long time (in Windows about 20 seconds, in Linux several minutes) before getting back with an error. For my test, I physically unplugged the network cable.

So, I performed a test using libpqxx (official C++ client API for PostgreSQL) and the result is that the library notices immediately that the network is down issuing an error.

Someone does know a workaround for this problem?

[Updated on: Tue, 30 October 2018 13:06]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to manage the access to a Db on an unstable connection
Next Topic: [SOLVED] How to join two tables from two schemas with SqlExp
Goto Forum:
  


Current Time: Sat May 04 03:58:06 CEST 2024

Total time taken to generate the page: 0.01550 seconds