Re: unexpected query failure: ERROR: GIN indexes do not support whole-index scans
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: unexpected query failure: ERROR: GIN indexes do not support whole-index scans |
| Дата | |
| Msg-id | 27387.1287442870@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | unexpected query failure: ERROR: GIN indexes do not support whole-index scans (Jon Nelson <jnelson+pgsql@jamponi.net>) |
| Ответы |
Re: unexpected query failure: ERROR: GIN indexes do not
support whole-index scans
|
| Список | pgsql-performance |
Jon Nelson <jnelson+pgsql@jamponi.net> writes: > CREATE INDEX foo_idx ON t USING GIN (alternatecodes) WHERE > alternatecodes IS NOT NULL; > SELECT * FROM t WHERE alternatecodes IS NOT NULL; > ERROR: GIN indexes do not support whole-index scans Yep, this is a known issue. It's going to take major surgery on GIN to fix it, so don't hold your breath. In the particular case, what good do you think the WHERE clause is doing anyway? GIN won't index nulls at all ... which indeed is an aspect of the underlying issue --- see recent discussions, eg here: http://archives.postgresql.org/pgsql-hackers/2010-10/msg00521.php regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера