Re: [HACKERS] parse_expr.c another type produced by transformations? - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] parse_expr.c another type produced by transformations?
Date
Msg-id 23790.1045161050@sss.pgh.pa.us
Whole thread Raw
In response to parse_expr.c another type produced by transformations?  (Greg Stark <gsstark@mit.edu>)
List pgsql-patches
Greg Stark <gsstark@mit.edu> writes:
> Ran into this in cvs tip checked out as of yesterday:

> db=>  SELECT sum(CASE WHEN (upper(substr((select 'en'::varchar),1,1)) not between 'A' and 'Z') THEN 1  ELSE 0 END) AS
nFROM tab; 
> ERROR:  transformExpr: does not know how to transform node 309 (internal error)

> 309 is T_FuncExpr. Is this a node type that should be added as described by
> the comment?

Yeah, you're right, and three other node types too.  I missed this spot
while changing the representation of Expr the other day.  Thanks for
catching it.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Cosmetic change in catalog/index.c
Next
From: Neil Conway
Date:
Subject: Re: Cosmetic change in catalog/index.c