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

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 (view raw or flat)
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

pgsql-bugs by date

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

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