Skip site navigation (1) Skip section navigation (2)

Re: Regression from 8.4 to 9.1.2/9.1.3: Optimizing filters on constants in unions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claus Stadler <cstadler(at)informatik(dot)uni-leipzig(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Regression from 8.4 to 9.1.2/9.1.3: Optimizing filters on constants in unions
Date: 2012-03-16 17:17:46
Message-ID: 390.1331918266@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Claus Stadler <cstadler(at)informatik(dot)uni-leipzig(dot)de> writes:
> Filtering a Union on constant custom type:
> ...
> Expected: Query optimizer should discard the scan as filter cannot be 
> satisfied.

I've applied a patch for this.  Thanks for the report!

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Alex HunsakerDate: 2012-03-16 17:48:24
Subject: Re: BUG #6511: calling spi_exec_query from non-main package, results in: couldn't fetch $_TD
Previous:From: arenDate: 2012-03-16 15:03:00
Subject: BUG #6535: LEFT JOIN on large table is altering data

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group