Thread: pgsql: Don't try to constant-fold functions returning RECORD, since the

pgsql: Don't try to constant-fold functions returning RECORD, since the

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Don't try to constant-fold functions returning RECORD, since the optimizer
isn't presently set up to pass them an expected tuple descriptor.  Bug has
been there since 7.3 but was just recently reported by Thomas Hallgren.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.194 -> r1.195)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.194&r2=1.195)