Use correct macro for accessing offset numbers. - Mailing list pgsql-hackers

From Kirill Reshke
Subject Use correct macro for accessing offset numbers.
Date
Msg-id CALdSSPidtC7j3MwhkqRj0K2hyp36ztnnjSt6qzGxQtiePR1dzw@mail.gmail.com
Whole thread Raw
Responses Re: Use correct macro for accessing offset numbers.
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: "Jonathan Gonzalez V."
Date:
Subject: Add pg_get_publication_ddl function
Next
From: Kirill Reshke
Date:
Subject: Re: pageinspect support for SpGiST