From: | tgl(at)svr1(dot)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql-server/src/backend/access/nbtree Tag: RE ... |
Date: | 2003-07-29 22:18:56 |
Message-ID: | 20030729221856.84372D1C9CE@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/07/29 19:18:53
Modified files:
src/backend/access/nbtree: Tag: REL7_2_STABLE nbtsearch.c
Log message:
Fix longstanding error in _bt_search(): should moveright at top of loop not
bottom. Otherwise we fail to moveright when the root page was split while
we were "in flight" to it. This is not a significant problem when the root
is above the leaf level, but if the root was also a leaf (ie, a single-page
index just got split) we may return the wrong leaf page to the caller,
resulting in failure to find a key that is in fact present. Bug has existed
at least since 7.1, probably forever.
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2003-07-30 01:46:16 | Re: pgsql-server/src backend/catalog/heap.c backen ... |
Previous Message | Tom Lane | 2003-07-29 22:18:49 | pgsql-server/src/backend/access/nbtree Tag: RE ... |