Re: [PATCH] btree_gist: add cross-type integer operator support for GiST

From: Alexander Nestorov <alexandernst(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Maxime Schoemans <maxime(dot)schoemans(at)enterprisedb(dot)com>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, pgsql-hackers mailing list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] btree_gist: add cross-type integer operator support for GiST
Date: 2026-12-02 18:39:27
Message-ID: 95700e60-eb4c-4aca-8fc1-5fd2524814c6@Spark
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks for the review, Tom, and sorry for the delay in the response!

I'm attaching the v8 patchset.

* I reverted the query/key swap in gbt_num_consistent().

* The q2/q4/q8 names stood for "query type int2/4/8", but you're right about them being confusing.
I renamed them to gbt_int4_int2_gt and tinfo_int4_int2.

* I removed the unrelated whitespace / linebreak changes.

I also ran the benchmark tests again just to be sure that the new changes didn't introduce any performance regressions.

Best regards!

Attachment Content-Type Size
v8-0001-btree_gist-Pass-the-index-key-first-in-gbt_num_di.patch application/octet-stream 1.9 KB
v8-0002-Implement-cross-type-operators-for-GiST-indexes.patch application/octet-stream 28.8 KB
v8-0003-Add-tests-for-cross-type-operators-for-GiST-index.patch application/octet-stream 40.9 KB
v8-0004-doc-Document-cross-type-operator-support-in-btree.patch application/octet-stream 3.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2026-12-02 18:43:21 [PATCH] Do not reuse recovery snapshots after recovery ends
Previous Message Masahiko Sawada 2026-12-02 18:35:49 Re: Fix race between copying and dropping a replication slot