Re-allow an untyped literal as the test expression of a CASE, ie
authorTom Lane <[email protected]>
Wed, 12 Jan 2005 17:32:36 +0000 (17:32 +0000)
committerTom Lane <[email protected]>
Wed, 12 Jan 2005 17:32:36 +0000 (17:32 +0000)
commit2c4451397dda7bba3bc8caa853e18cb150227bf8
treecbd3f43a1ae1cc44e55b9b0235fce856343f5625
parentddf11a177ee32a73843c9831027a277dff605c28
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.
src/backend/parser/parse_expr.c