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

python - be: Fix some cache leaks, at best, or crashes, at worst.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Fix some cache leaks, at best, or crashes, at worst.
Date: 2006-06-29 15:05:55
Message-ID: 20060629150555.4D1C186C638@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix some cache leaks, at best, or crashes, at worst.

Make auto's whose values are set after the setjmp volatile so that those values
can actually be referenced. On my system, a cache leak was occurring in one of
these cases, but I imagine that other systems might not be so forgiving.

Modified Files:
--------------
    be/src:
        function.c (r1.23 -> r1.24)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/function.c.diff?r1=1.23&r2=1.24)
        heaptuple.c (r1.16 -> r1.17)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/heaptuple.c.diff?r1=1.16&r2=1.17)
        pl.c (r1.40 -> r1.41)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.40&r2=1.41)
        tupledesc.c (r1.15 -> r1.16)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/tupledesc.c.diff?r1=1.15&r2=1.16)
        type.c (r1.22 -> r1.23)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/type.c.diff?r1=1.22&r2=1.23)
    be/src/call:
        portal.c (r1.13 -> r1.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/call/portal.c.diff?r1=1.13&r2=1.14)
    be/src/type:
        object.c (r1.8 -> r1.9)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/type/object.c.diff?r1=1.8&r2=1.9)

pgsql-committers by date

Next:From: Tom LaneDate: 2006-06-29 16:07:29
Subject: pgsql: Change TRUNCATE's method for searching for foreign-key references
Previous:From: Bruce MomjianDate: 2006-06-29 03:04:59
Subject: pgsql: Change URL for SITC: < http://momjian.us/cgi-bin/pgsitc >

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