Re: Define DatumGetInt8 function.

Поиск
Список
Период
Сортировка
Искать
От
Chao Li
Тема
Re: Define DatumGetInt8 function.
Дата
Msg-id
225E9E96-D160-49CD-97CA-A9AE20B60A8B@gmail.com
Ответ на
Список
Дерево обсуждения
Define DatumGetInt8 function. Kirill Reshke <reshkekirill@gmail.com>
Re: Define DatumGetInt8 function. Chao Li <li.evan.chao@gmail.com>
Re: Define DatumGetInt8 function. Tom Lane <tgl@sss.pgh.pa.us>
Re: Define DatumGetInt8 function. Kirill Reshke <reshkekirill@gmail.com>
Re: Define DatumGetInt8 function. David Rowley <dgrowleyml@gmail.com>
Re: Define DatumGetInt8 function. Kirill Reshke <reshkekirill@gmail.com>
Re: Define DatumGetInt8 function. Aleksander Alekseev <aleksander@tigerdata.com>
Re: Define DatumGetInt8 function. Kirill Reshke <reshkekirill@gmail.com>
Re: Define DatumGetInt8 function. Aleksander Alekseev <aleksander@tigerdata.com>
Re: Define DatumGetInt8 function. Peter Eisentraut <peter@eisentraut.org>
Re: Define DatumGetInt8 function. Aleksander Alekseev <aleksander@tigerdata.com>
Re: Define DatumGetInt8 function. Peter Eisentraut <peter@eisentraut.org>
Re: Define DatumGetInt8 function. Michael Paquier <michael@paquier.xyz>
Re: Define DatumGetInt8 function. Michael Paquier <michael@paquier.xyz>


> On Dec 29, 2025, at 19:02, Kirill Reshke  wrote:
> 
> 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
> 

LGTM.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/






В списке pgsql-hackers по дате отправления
От: Kirill Reshke
Дата:
Сообщение: Define DatumGetInt8 function.
От: vignesh C
Дата:
FAQ