Skip to content

Commit f602cf4

Browse files
committed
Remove unused macro
Use was removed in 6d46f47 but definition was forgotten.
1 parent 54f5f88 commit f602cf4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/backend/access/hash/hashpage.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ static void _hash_splitbucket(Relation rel, Buffer metabuf,
4848
static void log_split_page(Relation rel, Buffer buf);
4949

5050

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-
#define USELOCKING(rel) (!RELATION_IS_LOCAL(rel))
59-
60-
6151
/*
6252
* _hash_getbuf() -- Get a buffer by block number for read or write.
6353
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy