diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-08-16 13:13:43 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-08-16 13:13:43 +0300 |
commit | 1153422edac5d27eeffd61fca2be348fa0714ce9 (patch) | |
tree | 763e2e941200d39f26b8f6915d6a64a4e4814da1 /src | |
parent | e882bcae032d5e89777e2a1f3d78dfb77c17c192 (diff) | |
download | postgresql-1153422edac5d27eeffd61fca2be348fa0714ce9.tar.gz postgresql-1153422edac5d27eeffd61fca2be348fa0714ce9.zip |
Remove unused 'cur_skey' argument from IndexScanOK()
Commit a78fcfb51243 removed the last use of it.
Author: Hugo Zhang, Aleksander Alekseev
Reviewed-by: Daniel Gustafsson
Discussion: https://www.postgresql.org/message-id/NT0PR01MB129459E243721B954611938F9CDD2%40NT0PR01MB1294.CHNPR01.prod.partner.outlook.cn
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/cache/catcache.c | 6 |
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); |