Search Postgresql Archives

Re: Deadlock with one table - PostgreSQL is doing it right

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The tool Im using is "sqlplus". By default you are always in a transaction and 
> auto-commit only occur on exit. 

Its been a while since I worked with oracle. I remember I use to add the following two lines at the top:
SET AUTOCOMMIT OFF
whenever SQLERROR EXIT ROLLBACK

IIRC, adding the above ensures that at the first error, oracle will rollback all changes , unless you add a DDL in the transaction which auto commits all changes.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux