Re: Add red-black tree missing comparison searches
Alexander Korotkov <aekorotkov@gmail.com>
From: Alexander Korotkov <aekorotkov@gmail.com>
To: Steve Chavez <steve@supabase.io>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-07-06T18:53:41Z
Lists: pgsql-hackers
Attachments
- 0001-Use-C99-designator-in-the-rbtree-sentinel-definit-v2.patch (application/octet-stream) patch v2-0001
- 0002-Add-missing-inequality-searches-to-rbtree-v2.patch (application/octet-stream) patch v2-0002
Hi, Steve! On Sat, Jul 2, 2022 at 10:38 PM Steve Chavez <steve@supabase.io> wrote: > > But I think we can support strict inequalities too (e.g. > less and greater without equals). Could you please make it a bool > argument equal_matches? > > Sure, an argument is a good idea to keep the code shorter. > > > Could you please extract this change as a separate patch. > > Done! Thank you! I did some improvements to the test suite, run pgindent and wrote commit messages. I think this is quite straightforward and low-risk patch. I'm going to push it if no objections. ------ Regards, Alexander Korotkov
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add missing inequality searches to rbtree
- e57519a4637a 16.0 landed
-
Use C99 designator in the rbtree sentinel definition
- 8d51d7f403c2 16.0 landed