Define DatumGetInt8 function.

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Define DatumGetInt8 function.
Date: 2025-12-29 11:02:34
Message-ID: CALdSSPhFyb9qLSHee73XtZm1CBWJNo9+JzFNf-zUEWCRW5yEiQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers!

I am currently involved in the Cloudberry kernel rebase process[0]. We
are rebasing [0] which is based on pg-14 on pg-16 kernel. During this
process I noticed rebase conflicts introduced by c8b2ef0. This commit
defines a number of include functions for datum conversion.

During this rebase resolution, I noticed that there is an Int8GetDatum
function, but there is no DatumGetInt8, which I want to use. All other
inline functions seem to be provided in pairs by postgres.h. So it
looks convenient to define DatumGetInt8 in postgres.h?

FPA doing just that.

[0] https://github.com/apache/cloudberry

--
Best regards,
Kirill Reshke

Attachment Content-Type Size
v1-0001-Define-DatumGetInt8-function.patch application/octet-stream 728 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2025-12-29 11:08:25 Re: Define DatumGetInt8 function.
Previous Message Nazir Bilal Yavuz 2025-12-29 10:58:19 Re: Streamify more code paths