Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333 - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333
Date
Msg-id 4E900B0E.8030109@enterprisedb.com
Whole thread Raw
In response to Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-bugs
On 07.10.2011 11:26, Heikki Linnakangas wrote:
> I'm inclined to do a quick fix in transformAExprOp() function to not
> apply the transformation if either side of the = operation is a
> CaseTestExpr, per attached patch. We could potentially have the same
> problem with any "a = NULL" expression created internally in the parser,
> but I don't see any more instances of that, aside from this construction
> of WHEN expressions.

Committed that patch, thanks for the report!

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: BUG #6244: Ordering Problem
Next
From: "Joe"
Date:
Subject: BUG #6245: one click Installer problem