pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: urvancevav <urvancevav@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #7574: CASE in WHERE condition change result set
Date: Tue, 02 Oct 2012 00:59:10 -0300
Message-ID: <1349150280-sup-467@alvh.no-ip.org> (raw)
In-Reply-To: <E1THWPC-0005CT-UG@wrigleys.postgresql.org>
References: <E1THWPC-0005CT-UG@wrigleys.postgresql.org>

Excerpts from urvancevav's message of vie sep 28 05:58:42 -0300 2012:
> The following bug has been logged on the website:
> 
> 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:        
> 
> 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.

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




view thread (2+ messages)

Message-ID: <1349150280-sup-467@alvh.no-ip.org>
Permalink:  ../1349150280-sup-467@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1349150280-sup-467@alvh.no-ip.org

 · 

reply

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: alvherre@2ndquadrant.com, urvancevav@gmail.com
  Subject: Re: BUG #7574: CASE in WHERE condition change result set
  In-Reply-To: <1349150280-sup-467@alvh.no-ip.org>
  References: <E1THWPC-0005CT-UG@wrigleys.postgresql.org> <1349150280-sup-467@alvh.no-ip.org>

* 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