On Fri, Jul 22, 2016 at 10:39:26PM +0200, Christoph Zwerschke wrote:
> Am 22.07.2016 um 21:33 schrieb Justin Pryzby:
> >I discovered that pg.DB() leaks, while pg.connect() doesn't.
> 
> Thanks, I'll look into that tomorrow. Your clues and test code are already

Thanks for digging into it.  FYI, an "more minimal" test is simply:

#!/usr/bin/python
import pg

while 1:
        db=pg.DB('ts')
        res=db.query('SELECT 1 FROM sites')
        db.close()

.. all the rest was just duplicating stuff from our application.
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to