Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Sergey <sergey-1987(at)yandex(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333
Date: 2011-10-08 08:34:22
Message-ID: 4E900B0E.8030109@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bo 2011-10-10 08:20:32 BUG #6246: character encoding for 64 bit
Previous Message Joe 2011-10-07 21:51:08 BUG #6245: one click Installer problem