On Tue, 2006-04-18 at 14:43 -0400, Alexandre Leclerc wrote:
> 2006/4/18, Joost van der Sluis <[EMAIL PROTECTED]>:
> > But you can have one connection, whith several transactions bound to it.
> > PostgreSQL doesn't support that, but SQLdb handles that for you, it
> > creates new connection internally automatically.
>
> Do you mean TPQConnection does not support many TSQLTransaction?
'But you can have one connection, whith several transactions bound to
it.'
So you can.
Only PostgreSQL can't, so SQLDdb handles it.
> In Delphi I was using ODBC access and many TQuery plugged to my data
> provider. This was working with only one connection and working great.
>
> Was it because ODBC/BDE was handling the thing for me? Or is it reallt
> a TPQConnection issue?
Delphi handled that for you, yes. Just like SQLdb does. ODBC doesn't
support more than one transaction for a connection, just like
PostgreSQL.
Joost
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives