Re: Use bsearch() instead of a manual binary search in syscache.c

Antonin Houska <ah@cybertec.at>

From: Antonin Houska <ah@cybertec.at>
To: cca5507@qq.com
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-11-08T12:12:31Z
Lists: pgsql-hackers
cca5507 <cca5507@qq.com> wrote:

> I make a patch for the $subject, which make the code simpler, thoughts?

I proposed something like that earlier [1] but did not get too far. The short
discussion might be useful for you though.

[1] https://www.postgresql.org/message-id/36977.1720623613@antos

-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com