[Lazarus] What is a TSQLTransaction and why do I need one?
Alexsander Rosa
alexsander.rosa at gmail.com
Wed Nov 24 20:40:38 CET 2010
But it is transparent to the libpq programmer; why it's not transparent with
sqldb?
2010/11/24 Martin Schreiber <mse00000 at gmail.com>
> 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
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
--
Atenciosamente,
Alexsander da Rosa
Linux User #113925
"Extremismo na defesa da liberdade não é defeito.
Moderação na busca por justiça não é virtude."
-- Barry Goldwater
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101124/5893859e/attachment-0003.html>
More information about the Lazarus
mailing list