Skip site navigation (1) Skip section navigation (2)

pgsql: Ensure that the result of evaluating a function during

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ensure that the result of evaluating a function during
Date: 2007-10-11 21:28:40
Message-ID: 20071011212840.0C433753E8A@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL7_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.109.2.1 -> r1.109.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c?r1=1.109.2.1&r2=1.109.2.2)

pgsql-committers by date

Next:From: User MarkirDate: 2007-10-12 04:40:39
Subject: bizgres - bizgres: Fix bogus 'locking against self' error for
Previous:From: Tom LaneDate: 2007-10-11 21:28:30
Subject: pgsql: Ensure that the result of evaluating a function during

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group