Re: BUG #7574: CASE in WHERE condition change result set - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #7574: CASE in WHERE condition change result set
Date
Msg-id 1349150280-sup-467@alvh.no-ip.org
Whole thread Raw
In response to BUG #7574: CASE in WHERE condition change result set  (urvancevav@gmail.com)
List pgsql-bugs
Excerpts from urvancevav's message of vie sep 28 05:58:42 -0300 2012:
> The following bug has been logged on the website:
>=20
> Bug reference:      7574
> Logged by:          Andrei
> Email address:      urvancevav@gmail.com
> PostgreSQL version: 9.2.1
> Operating system:   3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45
> Description:       =20
>=20
> in query like this:

> [ snipped ]

> CASE operator in the WHERE condition actually sets clazz_ to 0 instead =
of
> filtering it.

Can you please provide a complete example?  That would be something that
someone else can load into an empty database and observe the failure.

--=20
=C3=81lvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #7534: walreceiver takes long time to detect n/w breakdown
Next
From: nicwillemse@gmail.com
Date:
Subject: BUG #7577: JDBC Driver - Compiled with Java 7