Re: Define DatumGetInt8 function.
Kirill Reshke <reshkekirill@gmail.com>
From: Kirill Reshke <reshkekirill@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-06T14:12:33Z
Lists: pgsql-hackers
Attachments
- v1-0001-Remove-Int8GetDatum-function.patch (application/octet-stream) patch v1-0001
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
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
-
Remove Int8GetDatum function
- d4a080b8a190 19 (unreleased) landed