[Lazarus] What is a TSQLTransaction and why do I need one?

Martin Schreiber mse00000 at gmail.com
Wed Nov 24 20:27:18 CET 2010


On Wednesday, 24. November 2010 18.52:11 Alexsander Rosa wrote:
> Implicit transaction even in C using libpq, even for a mere SELECT? Are you
> sure?
>
Yes:
http://www.postgresql.org/docs/8.3/static/tutorial-transactions.html
"
PostgreSQL actually treats every SQL statement as being executed within a 
transaction. If you do not issue a BEGIN command, then each individual 
statement has an implicit BEGIN and (if successful) COMMIT wrapped around it.
"
Martin




More information about the Lazarus mailing list