Skip site navigation (1) Skip section navigation (2)

python - be: Cleanups and Fixes.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Cleanups and Fixes.
Date: 2005-12-04 03:47:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Cleanups and Fixes.

Fix a VPC-SRF bug where on every call the context callback would be registered.
This triggered to a strange exception in GC collection. (grr)

Don't attach the PL call to the fn_extra unless the return is an iterator; if
state need not be kept, don't keep it. (This could probably be revisited to
avoid the extra dictionary hit when the flinfo is merely being reused.)

Additionally, don't leak plc in pl.c, the call object. This may have been
masking other bugs.

Modified Files:
        system.h (r1.1 -> r1.2)
        call.c (r1.7 -> r1.8)
        heaptuple.c (r1.9 -> r1.10)
        pl.c (r1.28 -> r1.29)
        tupledesc.c (r1.10 -> r1.11)
        function.c (r1.8 -> r1.9)
        pl.c (r1.14 -> r1.15)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2005-12-04 03:52:31
Subject: pgsql: Add configure flag to allow libedit to be preferred over GNU
Previous:From: James William PyeDate: 2005-12-04 03:37:09
Subject: python - be: Add Postgres.CachedQuery convenience interface.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group