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-12 06:12:11
Message-ID: 29290.1331532731@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Claus Stadler <cstadler(at)informatik(dot)uni-leipzig(dot)de> writes:
> Hi, not sure if this bug is already known, so sorry if it is ;)
> Filtering a Union on constant custom type:

This seems to be another unpleasant consequence of
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=57664ed25e5dea117158a2e663c29e60b3546e1c

I'm starting to think we need to revert that in favor of some other
solution, though I have no idea what yet.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Nie, Guocong 2012-03-12 09:31:35 postgresql 9.1 replicaiton query ( GNU/Linux replicate to Windows)
Previous Message Tom Lane 2012-03-11 22:15:57 Re: table row type and query-specified row type do not match