Fix sloppiness about alignment requirements in findsplitloc() space

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1ea912e16d24487d53ae633b05dad82e1b7c285f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-07-21T19:21:00Z
Releases: 7.1.1
Fix sloppiness about alignment requirements in findsplitloc() space
calculation, also make it stop when it has a 'good enough' split instead
of exhaustively trying all split points.

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +53 −14
src/backend/access/nbtree/nbtutils.c modified +48 −24