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

From: cca5507 <cca5507(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Use bsearch() instead of a manual binary search in syscache.c
Date: 2025-11-08 07:59:02
Message-ID: tencent_CAEAC0CB8E2D94BCB0A25621455FC6170F05@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, hackers!

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

--
Regards,
ChangAo Chen

Attachment Content-Type Size
v1-0001-Use-bsearch-instead-of-a-manual-binary-search-in-.patch application/octet-stream 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2025-11-08 08:09:55 Re: ago(interval) → timestamptz
Previous Message Sugamoto Shinya 2025-11-08 06:25:42 [PATCH] Add hints for invalid binary encoding names in encode/decode functions