Useless parameter 'cur_skey' in IndexScanOK

Hugo Zhang <hugo.zhang@openpie.com>

From: Hugo Zhang <hugo.zhang@openpie.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-07-03T02:48:37Z
Lists: pgsql-hackers
Hi,
The 'cur_skey' parameter in `IndexScanOK` funciton doesn't seem to be useful.

The function does not use cur_skey for any operation. Is there any other consideration
for retaining the cur_skey parameter here?

Best wishes
Hugo zhang

Commits

  1. Remove unused 'cur_skey' argument from IndexScanOK()