Re: hash-join forgets tuples

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: hash-join forgets tuples
Дата
Msg-id 25213.1124113047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на hash-join forgets tuples  (Sebastian Freundt <hroptatyr@gna.org>)
Ответы Re: hash-join forgets tuples  (Sebastian Freundt <hroptatyr@gna.org>)
Список pgsql-general
Sebastian Freundt <hroptatyr@gna.org> writes:
> using a highly surjective left (or inner) join to a table reveals data
> loss if the hash join method is used.

In which PG version?  Given that you appear to be playing with 8.1devel
code, you might be needing this bug fix:

2005-07-23 22:25  tgl

    * src/backend/nodes/tidbitmap.c: Fix logic error in tbm_intersect:
    the intersection of a normal page and a lossy page has to be lossy,
    because we don't know exactly which tuples on the page should
    remain part of the bitmap.  Per Jie Zhang.

If not, please send along a self-contained test case.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: vacuum error "left link changed unexpectedly"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizing query