On Wed, Mar 2, 2011 at 6:14 AM, Jan Urbański <wulc...@wulczer.org> wrote: >> That seems to have fixed it, so I have applied the patch. Would you like >> to supply some comments to got with it? > > The comment would be something like > > /* XXX it appears that in some circumstantes the reference count of the > spiexceptions module drops to zero causing a Python assert failure when > the garbage collector visits the module. This has been observed on the > buildfarm. To fix this, add an additional ref for the module here. */ > > I have no idea why the refcount of the module becomes zero, debug prints > I added on my system were always showing 1.
But does bumping the ref count then create a leak the rest of the time? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers