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.
clauses.c (r18.104.22.168 -> r22.214.171.124)
pgsql-committers by date
|Next:||From: User Markir||Date: 2007-10-12 04:40:39|
|Subject: bizgres - bizgres: Fix bogus 'locking against self' error for |
|Previous:||From: Tom Lane||Date: 2007-10-11 21:28:30|
|Subject: pgsql: Ensure that the result of evaluating a function during |