[Lazarus] PostgreSql: unexpected EOF on client connection with an open transaction

Leonardo M. Ramé l.rame at griensu.com
Wed Sep 2 18:00:09 CEST 2015


> Do you have a second transaction object (e.g. default transaction) ?
> If so, that's probably it.
>
> Michael.
>
>

No, just a TSQLTransaction attached to the TPQConnection object.

I commented all my code but the PQConnection1.Connected := True, and I 
noted I get the "could not receive data from client: Connection reset by 
peer" message just after the CGI program ends its execution.




More information about the Lazarus mailing list