CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       03/09/02 19:10:17

Modified files:
        src/backend/access/nbtree: nbtinsert.c 

Log message:
        In _bt_check_unique() loop, don't bother applying _bt_isequal() to
        killed items; just skip to the next item immediately.  Only check for
        key equality when we reach a non-killed item or the end of the index
        page.  This saves key comparisons when there are lots of killed items,
        as for example in a heavily-updated table that's not been vacuumed lately.
        Seems to be a win for pgbench anyway.


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to