Ok. But i am using with Lazarus + ZeosLib + PostgreSQL and it works.
 
Why not with SQLdb lib? The PostgreSQL suports commitretaining. So, I understand, the problem is the SQLdb lib + FreePascal. I will go to try with latest fpc-svn-versions.
 
Thanks,


Joost van der Sluis <[EMAIL PROTECTED]> escreveu:
Hi,

This is an fpc-issue (not Lazarus). So you'll need the latest fpc-svn-
versions. Those contains some fixes for this, but using CommitRetaining
and PostgreSQL will never work completely ok, I'm affraid.

Better don't use commitretaining.

Joost

On Wed, 2006-05-31 at 15:40 +0000, Cohako Lazarus wrote:
> Why CommitRetaining doesn't works with TSQLTransaction. Example:
>
> SQLQuery1 AfterPost event:
> ...
> SQLQuery1.ApplyUpdates;
> //SQLTransaction1.Commit;
> SQLTransaction1.CommitRetaining; //so far, so good
> ...
>
> ... But, onClose
> SQLQuery1.Close; //<== here, error occurs
> PQConnection1.Close;
>
> Look error message:
> http://www.pauloamaral.com.br/erro_commitretaining.jpg
>
> My version Lazarus is 0.9.14, yet.
> My PostgreSQl version is 8.1.2.
>
>
>
> ______________________________________________________________________
> Navegue com o Yahoo! Acesso Grátis, assista aos jogos do Brasil na
> Copa e ganhe prêmios de hora em hora.
--
Met vriendelijke groeten,

Joost van der Sluis
CNOC Informatiesystemen en Netwerken
http://www.cnoc.nl

_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives


Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.

Reply via email to