Small patch fixing a query correctness issue in Gin with operator classes implementing Consistent functions
Vinod Sridharan <vsridh90@gmail.com>
From: Vinod Sridharan <vsridh90@gmail.com>
To: pgsql-hackers@postgresql.org
Date: 2025-04-12T03:58:08Z
Lists: pgsql-hackers
Attachments
- v1-0001-Fix-shimTriConsistentFn-mutating-the-entryRes-val.patch (application/octet-stream) patch v1-0001
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]