aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/cache/catcache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/cache/catcache.c b/src/backend/utils/cache/catcache.c
index 111d8a280a0..492a033aa2c 100644
--- a/src/backend/utils/cache/catcache.c
+++ b/src/backend/utils/cache/catcache.c
@@ -1194,7 +1194,7 @@ InitCatCachePhase2(CatCache *cache, bool touch_index)
* catalogs' indexes.
*/
static bool
-IndexScanOK(CatCache *cache, ScanKey cur_skey)
+IndexScanOK(CatCache *cache)
{
switch (cache->id)
{
@@ -1483,7 +1483,7 @@ SearchCatCacheMiss(CatCache *cache,
scandesc = systable_beginscan(relation,
cache->cc_indexoid,
- IndexScanOK(cache, cur_skey),
+ IndexScanOK(cache),
NULL,
nkeys,
cur_skey);
@@ -1803,7 +1803,7 @@ SearchCatCacheList(CatCache *cache,
scandesc = systable_beginscan(relation,
cache->cc_indexoid,
- IndexScanOK(cache, cur_skey),
+ IndexScanOK(cache),
NULL,
nkeys,
cur_skey);