aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/indexcmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-20 22:51:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-20 22:51:29 +0000
commit638feae2c91f3616641c1068e16110296bcc0c4e (patch)
tree13d0d9c6b2fae60d7f659821f24cbeb7fef10ad3 /src/backend/commands/indexcmds.c
parent59ee9448a86acd1de8d8eaf2cc86b1ea45f54069 (diff)
downloadpostgresql-638feae2c91f3616641c1068e16110296bcc0c4e.tar.gz
postgresql-638feae2c91f3616641c1068e16110296bcc0c4e.zip
exec_eval_datum leaks memory when dealing with ROW or REC values.
It never leaked memory before PG 8.0, so none of the callers are expecting this. Cleanest fix seems to be to make it allocate the needed memory in estate->eval_econtext, where it will be cleaned up by the next exec_eval_cleanup. Per report from Bill Rugolsky.
Diffstat (limited to 'src/backend/commands/indexcmds.c')
0 files changed, 0 insertions, 0 deletions