diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-11 21:28:30 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-11 21:28:30 +0000 |
commit | ad8e3b37a7782f529a21deae1dafdbbc7b51bc17 (patch) | |
tree | 5b8546967b09d6d114aff945f59d461935100cd5 /src/tutorial | |
parent | d9e961d52737823b30549d5c130790d62a79731f (diff) | |
download | postgresql-ad8e3b37a7782f529a21deae1dafdbbc7b51bc17.tar.gz postgresql-ad8e3b37a7782f529a21deae1dafdbbc7b51bc17.zip |
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/tutorial')
0 files changed, 0 insertions, 0 deletions