aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-12-11 18:14:43 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-12-11 18:14:43 +0000
commitd8e511fabbff0554cb872186c8a5de3b7715ec9b (patch)
tree1da1b3bf092293f7916e63665b8c3acd1009e140 /src/backend/commands/explain.c
parentf1325ce213ae1843d2ee636ff6780c3f8ac9ada6 (diff)
downloadpostgresql-d8e511fabbff0554cb872186c8a5de3b7715ec9b.tar.gz
postgresql-d8e511fabbff0554cb872186c8a5de3b7715ec9b.zip
Ensure that the result tuple of an EvalPlanQual cycle gets materialized
before we zap the input tuple. Otherwise, pass-by-reference columns of the result slot are likely to contain just references to the input tuple, leading to big trouble if the pfree'd space is reused. Per trouble report from Jaime Casanova. This is a new bug in the recent rewrite of EvalPlanQual, so nothing to back-patch.
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions