TransIsolation for PostgreSQL! How to set transaction isolation level?
Posted: Wed 12 Dec 2012 19:48
How should I set the isolation level of a transaction in postgresql using Delphi+DBExpress+DevartPostgreSQL ?
In Firebird: SQLConnection.Params.Values['DevartInterBase TransIsolation'] := 'ReadCommited'
In Oracle: SQLConnection.Params.Values['Oracle TransIsolation'] := 'ReadCommited'
In SQL Server: SQLConnection.Params.Values['SQLServer TransIsolation'] := 'RepeatableRead'
And PostgreSQL? I am facing a problem of Deadlock and believe it is the isolation level of the transaction that is causing errors.
In Firebird: SQLConnection.Params.Values['DevartInterBase TransIsolation'] := 'ReadCommited'
In Oracle: SQLConnection.Params.Values['Oracle TransIsolation'] := 'ReadCommited'
In SQL Server: SQLConnection.Params.Values['SQLServer TransIsolation'] := 'RepeatableRead'
And PostgreSQL? I am facing a problem of Deadlock and believe it is the isolation level of the transaction that is causing errors.