[Zope-DB] Psycopg & refreshing products

Federico Di Gregorio fog@initd.org
29 Jan 2003 14:46:45 +0100


--=-0vwl0uyC3ZPQtbm0dZrI
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Il mer, 2003-01-29 alle 14:45, Andrew Veitch ha scritto:
> I've got a Python product that makes use of a psycopg adaptor and ZSQL
> methods.
>=20
> I've found that every time I refresh the product another connection to
> postgres is opened and never closes - and after a few hours of coding thi=
s
> bring Postgres to a halt as I reach the maximum number of connections. If=
 I
> restart Zope everything's fine.

what version of psycopg do you use? this was an old problem a should be
solved in modern releases.

--=20
/federico


--=-0vwl0uyC3ZPQtbm0dZrI
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+N9tEvcCgrgZGjesRAkiLAJ9DgQh+pYiUxRys5fta3iFKavHZ9ACeIi6o
FaV3lELben/Q699e3mdJWVY=
=HUIh
-----END PGP SIGNATURE-----

--=-0vwl0uyC3ZPQtbm0dZrI--