Skip site navigation (1) Skip section navigation (2)

Meaning of Level of rollback on errors

From: "Renato Gondim" <Renato(dot)Gondim(at)SoftwareExpress(dot)com(dot)br>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Meaning of Level of rollback on errors
Date: 2006-05-31 20:39:18
Message-ID: 001001c684f2$4a37a2b0$3c35a8c0@MRENATO (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
Hi folks,

I've just faced a situation here at work. Our application runs on Oracle,
SqlServer, Sybase and PostGreSql. The problem was when a primary key
violation occurs: after the error, the application tries to find the
register, but if the ODBC is configured as "Transaction" on "Level of
rollback on errors", nothing is returned from the select. After a research,
I found out that I must use "Statement" , but I'd like to know what happen
when this configuration is set, because the application must start / finish
the transaction. I'm tried "Nop: don't rollback anything", cause make more
sense for me: don't do anything, let the application control the
transactions, but using it, the application can't continue and make more

Because I don't like to use something that I don't know, please, does
anybody have more information about the configurations of "Level of rollback
on errors"?






pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2006-06-01 00:09:02
Subject: Re: Meaning of Level of rollback on errors
Previous:From: raja chidambaramDate: 2006-05-31 10:46:08
Subject: BUG #2460: bug on postgres crash recovery

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group