diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-11 21:28:05 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-11 21:28:05 +0000 |
commit | ef3ff3eee48d88ce35b87409c0d96a12f75f044b (patch) | |
tree | 1c4da6a080cf1a739c4662874b7ee4adf5fa07f2 /src/tutorial/advanced.source | |
parent | a948f7c62ce478af2de8b39366cc10166486a85d (diff) | |
download | postgresql-ef3ff3eee48d88ce35b87409c0d96a12f75f044b.tar.gz postgresql-ef3ff3eee48d88ce35b87409c0d96a12f75f044b.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/advanced.source')
0 files changed, 0 insertions, 0 deletions