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

Поиск
Список
Период
Сортировка
От Matteo Beccati
Тема Re: BUG #6416: Expression index not used with UNION ALL queries
Дата
Msg-id 4F2562B6.50509@beccati.com
обсуждение исходный текст
Ответ на BUG #6416: Expression index not used with UNION ALL queries  (php@beccati.com)
Ответы Re: BUG #6416: Expression index not used with UNION ALL queries  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 29/01/2012 16:06, php@beccati.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6416
> Logged by:          Matteo Beccati
> Email address:      php@beccati.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/

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: php@beccati.com
Дата:
Сообщение: BUG #6416: Expression index not used with UNION ALL queries
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: wCTE cannot be used to update parent inheritance table