diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-02 22:10:16 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-02 22:10:16 +0000 |
commit | 5ac2d7c0ebdb1071643f77a6f1fa1a54fd469fb8 (patch) | |
tree | 13c1820a9bc3a3e277a262da12621745774392f4 /src/backend/utils/error/elog.c | |
parent | 30b4abf5d02c0ecc4a226aab00d7ba961e25263b (diff) | |
download | postgresql-5ac2d7c0ebdb1071643f77a6f1fa1a54fd469fb8.tar.gz postgresql-5ac2d7c0ebdb1071643f77a6f1fa1a54fd469fb8.zip |
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.
Diffstat (limited to 'src/backend/utils/error/elog.c')
0 files changed, 0 insertions, 0 deletions