More paranoia in AtEOSubXact_SPI: don't assume we can safely use SPI_finish
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Jul 2004 21:17:13 +0000 (21:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Jul 2004 21:17:13 +0000 (21:17 +0000)
commit25ee160acd3670104af6b62564d7142e0bbe115f
tree0e7b19fb9515f6d32df6f8587cf58057d0973df9
parent1732cb0dbe5ac3c1024c9f034438ae332a2ad859
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.
src/backend/executor/spi.c