aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-03-02 05:34:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-03-02 05:34:12 +0000
commitfa7f6ff0db4fefe94827b787f72fcb0de620a235 (patch)
tree7213f869f55dcbd369f733a6ca77f83e7d20ec2d /src/backend/access/gist/gistscan.c
parent181f55e5fb4ba63324c5c15ab98a37f5dad53236 (diff)
downloadpostgresql-fa7f6ff0db4fefe94827b787f72fcb0de620a235.tar.gz
postgresql-fa7f6ff0db4fefe94827b787f72fcb0de620a235.zip
Fix possible crash at transaction end when a plpgsql function is used and
then modified within the same transaction. The code was using a linked list of active PLpgSQL_expr structs, which was OK when it was written because plpgsql never released any parse data structures for the life of the backend. But since Neil fixed plpgsql's memory management, elements of the linked list could be freed, leading to crash when the list is chased. Per report and test case from Kris Jurka.
Diffstat (limited to 'src/backend/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions