Firebird has multiple transactions for one connection not like Postgre, sqldb make postgre connection for every sqldb Transaction. so stoping the transaction and restart again or make CommitRetian must resolve that problem check "pgconnection.pp" procedure CommitRetaining. -- Zaher Dirkey