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
* catalogs' indexes.
*/
static bool
-IndexScanOK(CatCache *cache, ScanKey cur_skey)
+IndexScanOK(CatCache *cache)
{
switch (cache->id)
{
scandesc = systable_beginscan(relation,
cache->cc_indexoid,
- IndexScanOK(cache, cur_skey),
+ IndexScanOK(cache),
NULL,
nkeys,
cur_skey);
scandesc = systable_beginscan(relation,
cache->cc_indexoid,
- IndexScanOK(cache, cur_skey),
+ IndexScanOK(cache),
NULL,
nkeys,
cur_skey);