aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-12-08 00:40:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-12-08 00:40:27 +0000
commit566480acbbd37a6a7cb35ae46135e864ac8871a7 (patch)
treef623658116c0fce237c0e1e9724a2f8c3fbce40e /src/backend/tcop/postgres.c
parent8124215cc39a6c1f15ab8555c9fae4d776b6d9fd (diff)
downloadpostgresql-566480acbbd37a6a7cb35ae46135e864ac8871a7.tar.gz
postgresql-566480acbbd37a6a7cb35ae46135e864ac8871a7.zip
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions