Re: Useless parameter 'cur_skey' in IndexScanOK - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Useless parameter 'cur_skey' in IndexScanOK
Date
Msg-id CAJ7c6TNWJUp1-B_hQsg3_ie4r5eXOXdgtyN-4U4AjRcrcg4RvQ@mail.gmail.com
Whole thread Raw
In response to Useless parameter 'cur_skey' in IndexScanOK  (Hugo Zhang <hugo.zhang@openpie.com>)
Responses Re: Useless parameter 'cur_skey' in IndexScanOK
List pgsql-hackers
Hi,

> The 'cur_skey' parameter in `IndexScanOK` funciton doesn't seem to be useful.

Good catch. As I understand it is not used for anything since
a78fcfb51243 (dated 2006) and this is a static function, so we
shouldn't worry about third-party extensions.

I wonder why none of the compilers complained about this.

Here is the patch.

--
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: CI, macports, darwin version problems
Next
From: Robert Haas
Date:
Subject: Re: pg_wal_summary_contents() and pg_walsummary may return different results on the same WAL summary file