| From: | Sebastian Freundt <hroptatyr(at)gna(dot)org> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: hash-join forgets tuples |
| Date: | 2005-08-15 13:51:11 |
| Message-ID: | nhty873pauo.fsf@mack.math.tu-berlin.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Sebastian Freundt <hroptatyr(at)gna(dot)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.
Ah, good hint. Indeed it is 8.1-devel. Let me examine your proposal.
Thanks Tom!
Regards,
Sebastian
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pit Müller | 2005-08-15 14:24:44 | Re: libpy and ENABLE_THREAD_SAFETY=1 |
| Previous Message | Tom Lane | 2005-08-15 13:46:07 | Re: Optimizing query |