Small patch fixing a query correctness issue in Gin with operator classes implementing Consistent functions

From: Vinod Sridharan <vsridh90(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Small patch fixing a query correctness issue in Gin with operator classes implementing Consistent functions
Date: 2025-04-12 03:58:08
Message-ID: CAFMdLD5YNE2ONYcjFBRXOdWEfdVNNaimD=Bq-UZpYYn+Zy3NtA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All,

Please find a small patch to fix an existing bug in the GIN index that
impacts correctness of query results for operator classes that use a
consistentFunction and do not specify a triConsistent function. This
patch is against the master and fixes an issue not in any release
branches.

Please find the thread discussing this issue and the fix here:
https://www.postgresql.org/message-id/flat/CAFMdLD4Ks5b%3DCbBh1PjFSytm0zdNv9-ddyeE%2BopusAKCVph7%3Dg%40mail.gmail.com

--
Thanks and Regards,
Vinod Sridharan
[Microsoft]

Attachment Content-Type Size
v1-0001-Fix-shimTriConsistentFn-mutating-the-entryRes-val.patch application/octet-stream 1023 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2025-04-12 04:26:36 Re: stats.sql fails during installcheck on mac
Previous Message Amul Sul 2025-04-12 03:14:05 Re: New committer: Jacob Champion