Re: BUG #6416: Expression index not used with UNION ALL queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matteo Beccati <php(at)beccati(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6416: Expression index not used with UNION ALL queries
Date: 2012-01-29 21:33:13
Message-ID: 14415.1327872793@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Matteo Beccati <php(at)beccati(dot)com> writes:
>> I've just noticed that an expression index I've created was not used with a
>> view contiaining a UNION ALL. Switching to UNION or querying the table
>> directly works as expected.

Looks like I broke this back in November :-(. Fixed, thanks for the
report.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2012-01-29 22:11:34 Re: wCTE cannot be used to update parent inheritance table
Previous Message Peter Geoghegan 2012-01-29 21:19:20 Re: wCTE cannot be used to update parent inheritance table