Re: BUG #17618: unnecessary filter column <> text even after adding index

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: BUG #17618: unnecessary filter column <> text even after adding index
Дата
Msg-id
946195.1663718159@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
BUG #17618: unnecessary filter column <> text even after adding index PG Bug reporting form <noreply@postgresql.org>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Sindy Senorita <sindysenorita@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Jeff Janes <jeff.janes@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #17618: unnecessary filter column <> text even after adding index Richard Guo <guofenglinux@gmail.com>
Re: BUG #17618: unnecessary filter column <> text even after adding index "David G. Johnston" <david.g.johnston@gmail.com>
I wrote:
> I wonder if that isn't backwards, ie we should prefer to put duplicates
> in bitmapqualorig (the recheck condition) instead of qpqual (the filter).
> If my head is screwed on correctly today, that should allow us to skip
> checking the condition much of the time, and the skip would be safe
> if the index is correctly asserting that no recheck is needed.

Flipping the removal around has the effect I expected on the plan shape,
but some of the regression test queries now give the wrong answer, so
there's something faulty about that analysis.

			regards, tom lane


В списке pgsql-bugs по дате отправления
От: Tom Lane
Дата:
От: Michael Paquier
Дата:
FAQ