We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent54f5f88 commitf602cf4Copy full SHA for f602cf4
src/backend/access/hash/hashpage.c
@@ -48,16 +48,6 @@ static void _hash_splitbucket(Relation rel, Buffer metabuf,
48
staticvoidlog_split_page(Relationrel,Bufferbuf);
49
50
51
-/*
52
- * We use high-concurrency locking on hash indexes (see README for an overview
53
- * of the locking rules). However, we can skip taking lmgr locks when the
54
- * index is local to the current backend (ie, either temp or new in the
55
- * current transaction). No one else can see it, so there's no reason to
56
- * take locks. We still take buffer-level locks, but not lmgr locks.
57
- */
58
-#defineUSELOCKING(rel)(!RELATION_IS_LOCAL(rel))
59
-
60
61
/*
62
*_hash_getbuf() -- Get a buffer by block number for read or write.
63
*