aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/ip.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-11-17 03:13:38 +0000
committerNeil Conway <neilc@samurai.com>2004-11-17 03:13:38 +0000
commit5d1dd2bc55edaf9bd4f733e835e56cabbfe310cd (patch)
tree7c5e756adbaf02329cf9f32e2b22dce44667e73f /src/backend/libpq/ip.c
parenta51e54cf5b93de5943d2a28e2c4058b5be456aeb (diff)
downloadpostgresql-5d1dd2bc55edaf9bd4f733e835e56cabbfe310cd.tar.gz
postgresql-5d1dd2bc55edaf9bd4f733e835e56cabbfe310cd.zip
Micro-optimization of markpos() and restrpos() in btree and hash indexes.
Rather than using ReadBuffer() to increment the reference count on an already-pinned buffer, we should use IncrBufferRefCount() as it is faster and does not require acquiring the BufMgrLock.
Diffstat (limited to 'src/backend/libpq/ip.c')
0 files changed, 0 insertions, 0 deletions