Re: Define DatumGetInt8 function.

Поиск
Список
Период
Сортировка
От Kirill Reshke
Тема Re: Define DatumGetInt8 function.
Дата
Msg-id CALdSSPjmukA1WGyYVqJMPD8080Rm9oXPVLn5T64xFCj6wKAenQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Define DatumGetInt8 function.  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Define DatumGetInt8 function.
Список pgsql-hackers
On Tue, 6 Jan 2026 at 16:50, David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Tue, 30 Dec 2025 at 05:01, Kirill Reshke <reshkekirill@gmail.com> wrote:
> > Well, OK. Removal is also fine for me, because it is at least consistent.
>

> Kirill, are you working on this patch?


Hi!
Yes, PFA.

 > I've not studied in detail,
> but looks like it would require making
> char_decrement()/char_increment() and btcharskipsupport() all use
> CharGetDatum()/DatumGetChar() and switch to using SCHAR_MIN/SCHAR_MAX
> rather than 0/UCHAR_MAX.

This is also a possible change, and can be a separate patch. I will
try to also work on this this week.



-- 
Best regards,
Kirill Reshke

Вложения

В списке pgsql-hackers по дате отправления: