agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Jeff Sidell <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: B-tree bug
Date: Tue, 2 Apr 1996 07:12:41 -0800
Message-ID: <[email protected]> (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                            [email protected]
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 "[email protected]".
   If this fails, send mail to "[email protected]" 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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: B-tree bug
  In-Reply-To: <[email protected]>

* 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