Avoid double free of _SPI_current->tuptable. AtEOSubXact_SPI() now tries to
release it in a subtransaction abort, but this neglects possibility that
someone outside SPI already did. Fix is for spi.c to forget about a tuptable
as soon as it's handed it back to the caller.
Per bug #2817 from Michael Andreen.
spi.c (r1.165 -> r18.104.22.168)
pgsql-committers by date
|Next:||From: User Okbob||Date: 2006-12-08 00:57:46|
|Subject: plpsm - plpgpsm: warning handling|
|Previous:||From: Tom Lane||Date: 2006-12-08 00:40:27|
|Subject: pgsql: Avoid double free of _SPI_current->tuptable.|