Re: [HACKERS] parse_expr.c another type produced by transformations?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] parse_expr.c another type produced by transformations?
Date: 2003-02-13 18:30:50
Message-ID: 23790.1045161050@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Greg Stark <gsstark(at)mit(dot)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 n FROM 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-02-13 18:45:27 Re: location of the configuration files
Previous Message Tom Lane 2003-02-13 18:21:01 Someone's broken psql's connection-failure error reporting

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2003-02-13 21:24:02 Re: loading libraries on Postmaster startup
Previous Message Greg Sabino Mullane 2003-02-13 15:09:35 Cosmetic change in catalog/index.c