| From: | Matteo Beccati <php(at)beccati(dot)com> |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #6416: Expression index not used with UNION ALL queries |
| Date: | 2012-01-29 15:16:06 |
| Message-ID: | 4F2562B6.50509@beccati.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On 29/01/2012 16:06, php(at)beccati(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 6416
> Logged by: Matteo Beccati
> Email address: php(at)beccati(dot)com
> PostgreSQL version: 9.1.2
> Operating system: Debian Sqeeze
> Description:
>
> 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.
>
> A self contained test case follows:
Sorry about the formatting issue. You will find it attached.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/
| Attachment | Content-Type | Size |
|---|---|---|
| bug6416.txt | text/plain | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Josh Berkus | 2012-01-29 20:06:55 | Re: wCTE cannot be used to update parent inheritance table |
| Previous Message | php | 2012-01-29 15:06:04 | BUG #6416: Expression index not used with UNION ALL queries |