diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-11 21:28:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-11 21:28:12 +0000 |
commit | fbe5dc4386d09f3b53989957e681ec99f73e80c0 (patch) | |
tree | f067ff17f26141057de4c9f7b34b5182f07e6ba3 /src/backend/utils/adt/ruleutils.c | |
parent | 9310b2e578f33e63319d0dc0c09b2497f5d20dc8 (diff) |
Ensure that the result of evaluating a function during constant-expression
simplification gets detoasted before it is incorporated into a Const node.
Otherwise, if an immutable function were to return a TOAST pointer (an
unlikely case, but it can be made to happen), we would end up with a plan
that depends on the continued existence of the out-of-line toast datum.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions