]> granicus.if.org Git - postgresql/commit
1. _bt_compare fixed to work properly with new code in _bt_insertonpg
authorVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 6 Dec 1996 09:41:45 +0000 (09:41 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 6 Dec 1996 09:41:45 +0000 (09:41 +0000)
commitc3e10a4cafc2260111e378aa47ed0423255b2e7c
treee7a683444161c9d77c82426cd71bc22127c40d7d
parent64397b758fb60df19e8c6d6fb7957c20a77d8a36
1. _bt_compare fixed to work properly with new code in _bt_insertonpg
   (old _bt_compare always returned >= 0 while comparing with P_HIKEY
   on root page - it breaks root page when _bt_insertonpg tries insert
   new minimal key into root page).
2. Fixed bug concerns "empty" pages: non-rightmost pages with only P_HIKEY
   present on it. Such pages appear after vacuum.
src/backend/access/nbtree/nbtsearch.c