Can I do anything to prevent " auto rollback in a transaction when an error occurs " - Mailing list pgsql-odbc

From junzeng
Subject Can I do anything to prevent " auto rollback in a transaction when an error occurs "
Date
Msg-id 000801c2ef56$0df485f0$0da8a8a8@zengjun
Whole thread Raw
Responses Re: Can I do anything to prevent " auto rollback in a transaction when an error occurs "
List pgsql-odbc
In a transaction , if a sql command invite an error , all commands before this command will be rollbacked , and the transaction reset and restart.
For example:
 
BEGIN
insert  t1 values(1);
delete from t2
insert t1 values(2);
commit
 
if table t2 doesn't exist , "delete from t2" invites an error , and the insert will be rollbacked .
 
How can I prevent the rollback even when an error occurs ? Thanks
 
 
 
 
 

pgsql-odbc by date:

Previous
From: "pg"
Date:
Subject: Re: password leak in mylog thru win odbc
Next
From: "Wayne Armstrong"
Date:
Subject: Re: Can I do anything to prevent " auto rollback in a transaction when an error occurs "