Transaction component

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 71
Joined: Wed 10 Dec 2008 10:56

Transaction component

Post by lao » Tue 23 Dec 2008 11:50

There is not transaction component for postgresql.
we can't use fetchall:=false because we need transaction to do this.
We can create manually a TPgTransaction but TPgQuery and TPgTable does not have property to set transaction.

Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 23 Dec 2008 12:33

You should use the StartTransaction, Commit and Rollback methods of TPgConnection.

Post Reply