Use correct macro for accessing offset numbers.
Kirill Reshke <reshkekirill@gmail.com>
From: Kirill Reshke <reshkekirill@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-11T11:21:43Z
Lists: pgsql-hackers
Attachments
- v1-0001-Use-correct-macro-for-accessing-offset-numbers.patch (application/octet-stream) patch v1-0001
Hi hackers! While working on pageinspect support for GIN and SpGiST (welcome to review them [0] & [1]), I spotted $subi. PFA trivial patch that uses UInt16GetDatum for OffsetNumber rather than Int16GetDatum [0]https://www.postgresql.org/message-id/CALdSSPiN13n7feQcY0WCmq8jzxjwqhNrt1E%3Dg%3Dg6aZANyE_OoQ%40mail.gmail.com [1] https://www.postgresql.org/message-id/CALdSSPhbAQbFtjK0nT8_G5GsXmsSEVx8J735Ga%2BZxLp9osHcRA%40mail.gmail.com -- Best regards, Kirill Reshke
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Adjust some incorrect *GetDatum() macros
- ac59a90bef45 19 (unreleased) landed
-
Use more consistent *GetDatum() macros for some unsigned numbers
- 6dcfac9696cb 19 (unreleased) landed