Re: [HACKERS] Why does exprCollation reject List node?

2012-03-18 Thread Shigeru Hanada
On Fri, Mar 16, 2012 at 10:17 PM, Tom Lane t...@sss.pgh.pa.us wrote: Shigeru HANADA shigeru.han...@gmail.com writes: During writing pgsql_fdw codes, I noticed that exprCollation rejects non-Expr nodes with error unrecognized node type: %d.  Is this intentional behavior, or can it return

[HACKERS] Why does exprCollation reject List node?

2012-03-16 Thread Shigeru HANADA
Hi all, During writing pgsql_fdw codes, I noticed that exprCollation rejects non-Expr nodes with error unrecognized node type: %d. Is this intentional behavior, or can it return InvalidOid for unrecognized nodes like exprInputCollation? Background information: I use exprCollation with

Re: [HACKERS] Why does exprCollation reject List node?

2012-03-16 Thread Tom Lane
Shigeru HANADA shigeru.han...@gmail.com writes: During writing pgsql_fdw codes, I noticed that exprCollation rejects non-Expr nodes with error unrecognized node type: %d. Is this intentional behavior, or can it return InvalidOid for unrecognized nodes like exprInputCollation? Doesn't seem to