pgsql-server: More paranoia in AtEOSubXact_SPI: don't assume we can

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: More paranoia in AtEOSubXact_SPI: don't assume we can
Date: 2004-07-01 21:17:13
Message-ID: 20040701211713.EB455D1B3BB@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
More paranoia in AtEOSubXact_SPI: don't assume we can safely use SPI_finish
for cleaning up. It seems possible that the memory contexts SPI_finish
would try to touch are already gone; and there's no need for SPI itself
to delete them, since the containing contexts will surely be going away
anyway at transaction end.

Modified Files:
--------------
pgsql-server/src/backend/executor:
spi.c (r1.119 -> r1.120)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/executor/spi.c.diff?r1=1.119&r2=1.120)

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2004-07-02 00:58:10 pgsql-server: Attached is a 1 line bug fix for dbmirror that was
Previous Message Joe Conway 2004-07-01 20:50:22 pgsql-server: plperl update from Andrew Dunstan, deriving (I believe)