Error on data reading from the connection
Posted: Tue 06 Aug 2013 08:42
Hi all, I'm working with UniDac 5.0.1 and PostgreSQL version 9.1 server.
I just tried to lock with a select for update query some records (QUERY1).
Then I tried to do the same with a second connection (QUERY2) and instead of receiving a lock error I receive this exception:
Error on data reading from the connection
After the exception the UniConnection object is disconnected.
Is it normal?
Even if I close the second application with QUERY2, the postgres connection and the pending query stay resident on the postgres server until the first (QUERY1) app unlocks the records.
Is it possible to receive a different error on QUERY2 and possibly cancel this query if QUERY1 is locking same records?
Thank you.
I just tried to lock with a select for update query some records (QUERY1).
Then I tried to do the same with a second connection (QUERY2) and instead of receiving a lock error I receive this exception:
Error on data reading from the connection
After the exception the UniConnection object is disconnected.
Is it normal?
Even if I close the second application with QUERY2, the postgres connection and the pending query stay resident on the postgres server until the first (QUERY1) app unlocks the records.
Is it possible to receive a different error on QUERY2 and possibly cancel this query if QUERY1 is locking same records?
Thank you.