diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2019-02-04 21:29:31 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2019-02-04 21:29:31 +0100 |
commit | f602cf49c2f614ef7450df30bab9df29842bd359 (patch) | |
tree | 8d515c35192cf03e5c84617ffe7f9eede654627c /src | |
parent | 54f5f887fd7df0ba9e286ce7bc4d1b1197afcbf3 (diff) | |
download | postgresql-f602cf49c2f614ef7450df30bab9df29842bd359.tar.gz postgresql-f602cf49c2f614ef7450df30bab9df29842bd359.zip |
Remove unused macro
Use was removed in 6d46f4783efe457f74816a75173eb23ed8930020 but
definition was forgotten.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/hash/hashpage.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/backend/access/hash/hashpage.c b/src/backend/access/hash/hashpage.c index 0f85256b7e7..b7adfdb826e 100644 --- a/src/backend/access/hash/hashpage.c +++ b/src/backend/access/hash/hashpage.c @@ -49,16 +49,6 @@ static void log_split_page(Relation rel, Buffer buf); /* - * We use high-concurrency locking on hash indexes (see README for an overview - * of the locking rules). However, we can skip taking lmgr locks when the - * index is local to the current backend (ie, either temp or new in the - * current transaction). No one else can see it, so there's no reason to - * take locks. We still take buffer-level locks, but not lmgr locks. - */ -#define USELOCKING(rel) (!RELATION_IS_LOCAL(rel)) - - -/* * _hash_getbuf() -- Get a buffer by block number for read or write. * * 'access' must be HASH_READ, HASH_WRITE, or HASH_NOLOCK. |