Tweak btree insertion to avoid O(N^2) slowdown with large numbers of

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

Commit: 40549e9cb5abd2986603883e4ab567dab34723c6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-08-25T23:13:33Z
Releases: 7.1.1
Tweak btree insertion to avoid O(N^2) slowdown with large numbers of
equal keys.  See discussion of today's date in pghackers list.

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +33 −10