pgsql: get_expr_result_type has to be prepared to pull type information

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: get_expr_result_type has to be prepared to pull type information
Date: 2005-05-28 05:10:47
Message-ID: 20050528051047.BFF9A52836@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
get_expr_result_type has to be prepared to pull type information
from a RECORD Const node, because that's what it may be faced with
after constant-folding of a function returning RECORD. Per example
from Michael Fuhr.

Modified Files:
--------------
pgsql/src/backend/utils/fmgr:
funcapi.c (r1.21 -> r1.22)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/fmgr/funcapi.c.diff?r1=1.21&r2=1.22)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-05-28 17:21:32 pgsql: Bgwriter should PANIC if it runs out of memory for pending-fsyncs
Previous Message Bruce Momjian 2005-05-28 04:12:13 pgsql: Remove: < < * Add XML output to pg_dump and COPY < < We