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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Re-allow an untyped literal as the test expression of a CASE, ie
Date
Msg-id 20050112173237.7329E3A5D1A@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Increase MAXLISTEN to a more generous value, and add an error
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add conditional inclusion of to support old 'heimdal'