Thread: pgsql: Re-allow an untyped literal as the test expression of a CASE, ie

pgsql: Re-allow an untyped literal as the test expression of a CASE, ie

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Re-allow an untyped literal as the test expression of a CASE, ie
CASE 'a' WHEN 'a' THEN 1 ELSE 2 END.  This worked in 7.4 and before
but had been broken due to premature freezing of the type of the test
expression.  Per gripe from G�bor Sz�cs.

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_expr.c (r1.178 -> r1.179)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_expr.c.diff?r1=1.178&r2=1.179)