From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Sergey <sergey-1987@yandex.ru>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333
Date: Sat, 08 Oct 2011 11:34:22 +0300
Message-ID: <4E900B0E.8030109@enterprisedb.com> (raw)
In-Reply-To: <4E8EB7C3.3090008@enterprisedb.com>
References: <201110070729.p977Tdcx075504@wwwmaster.postgresql.org>
<4E8EB7C3.3090008@enterprisedb.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: heikki.linnakangas@enterprisedb.com, sergey-1987@yandex.ru
Subject: Re: BUG #6242: ERROR: unexpected CASE WHEN clause: 333
In-Reply-To: <4E900B0E.8030109@enterprisedb.com>
References: <201110070729.p977Tdcx075504@wwwmaster.postgresql.org> <4E8EB7C3.3090008@enterprisedb.com> <4E900B0E.8030109@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox