get_expr_result_type has to be prepared to pull type information

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6d9ee031488a0a252335b03d4e9baa59975d2c14
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-28T05:10:47Z
Releases: 8.1.0
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.

Files

PathChange+/−
src/backend/utils/fmgr/funcapi.c modified +31 −1