create index regression fail

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема create index regression fail
Дата
Msg-id CAJKUy5gxFx0M04kw+NU-v=NOnPcSC=RF=JGsypHeF7XgjL7viA@mail.gmail.com
обсуждение исходный текст
Ответы Re: create index regression fail  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

In current HEAD, create index regression is failing (at least here).
Is anyone else seeing this?
Attached regression.diffs

the query where the regression fails is:

SELECT count(*) FROM dupindexcols
  WHERE f1 > 'LX' and id < 1000 and f1 ~<~ 'YX';

my first theory was that it was because some locale because mine is
es_EC.UTF-8 but the content of the table doesn't justify that,
my second theory was that it was because the index-only scan it's does
but turning off indexonly scan didn't give a different answer

this test case was added in commit
e2c2c2e8b1df7dfdb01e7e6f6191a569ce3c3195 to "Improve planner's
handling of duplicated index column expressions", so this commit broke
something or the count is wrong in the expected result

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

Вложения

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Sending notifications from the master to the standby
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Remembering bug #6123