Re: EOF error

Stuart Bishop <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
johnf wrote:
> " unexpected EOF on client connection" is appearing in my postgres log.
> In my code I do NOT explicitly call connection.close() because it is my 
> understanding that it is not required when I release my program - something 
> about it being part of the DBAPI 2.0.  Is that correct?  

I get this too. I always assumed it is because destructors in Python are not
called when the program exits.

-- 
Stuart Bishop <[email protected]>
http://www.stuartbishop.net/

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHxNWlAfqZj7rGN0oRAnvIAJ9V2b+IDpAsysPG0X8MKFBht4ba2gCePPOk
d0hjKsLmJlQQj4adkOMOYZI=
=8gsk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.