agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Jeff Sidell <jsidell@cs.berkeley.edu>
To: mariposa_hackers@postgres.Berkeley.EDU
Cc: postgres@postgres.Berkeley.EDU
Subject: B-tree bug
Date: Tue, 2 Apr 1996 07:12:41 -0800
Message-ID: <199604021512.HAA22009@nobozo.CS.Berkeley.EDU> (raw)
When a b-tree index's scan position is marked, only the
line pointer value is saved. If the position is restored
after the index scan has read past that page, it doesn't
work. I noticed this while doing a merge-join with index
scans beneath it (tpc-D query #8). I have reproduced the
bug with much smaller datasets. The code to be changed is
in backend/executor/nodeIndexScan. The procedures are
ExecIndexMarkPos() and ExecIndexRestrPos().
Has anyone else found this bug and possibly fixed it?
Jeff
=============================================================================
JEFF SIDELL
Computer Science Division jsidell@cs.berkeley.edu
University of California at Berkeley http://http.cs.berkeley.edu/~jsidell/
=============================================================================
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: jsidell@cs.berkeley.edu, mariposa_hackers@postgres.Berkeley.EDU
Subject: Re: B-tree bug
In-Reply-To: <199604021512.HAA22009@nobozo.CS.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox