diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-09-25 16:02:00 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-09-25 16:05:24 +0300 |
commit | 33936752829e3c6d4c463f3c974968b225304571 (patch) | |
tree | 271e9c9463660922ac05a4f13d6399c19ed4b7cb /src/backend/access/spgist/spginsert.c | |
parent | ea9a2bcea3a3372b7f296b1095aeebf65c27f32a (diff) | |
download | postgresql-33936752829e3c6d4c463f3c974968b225304571.tar.gz postgresql-33936752829e3c6d4c463f3c974968b225304571.zip |
Plug memory leak in range_cmp function.
B-tree operators are not allowed to leak memory into the current memory
context. Range_cmp leaked detoasted copies of the arguments. That caused
a quick out-of-memory error when creating an index on a range column.
Reported by Marian Krucina, bug #8468.
Diffstat (limited to 'src/backend/access/spgist/spginsert.c')
0 files changed, 0 insertions, 0 deletions