Fix several Datum conversion inconsistencies (was: Remove Int8GetDatum, DatumGetUInt8 and UInt8GetDatum funcitons)

Edit
ID 6354
Title Fix several Datum conversion inconsistencies (was: Remove Int8GetDatum, DatumGetUInt8 and UInt8GetDatum funcitons)
CI (CFBot) Summary
Stats (from CFBot) Patch count: 1, First patch: +47−47, All patches: +47−47
Tags Good First Review Refactoring Only
Created 2025-12-29 11:04:32
Last modified 2026-04-30 05:46:58 (1 week ago)
Latest email 2026-04-30 05:46:17 (1 week ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Needs review
PG19-Final (2026-03-01 – 2026-04-09): Moved to different CF
PG19-4 (2026-01-01 – 2026-01-31): Moved to different CF
Target version 19
Authors Aleksander Alekseev (a.alekseev), Kirill Reshke (reshke)
Reviewers Michael Paquier (michael-kun) Become reviewer
Committer Peter Eisentraut (petere)
Links
Emails
Define DatumGetInt8 function.
First at 2025-12-29 11:02:34 by Kirill Reshke <reshkekirill at gmail.com>
Latest at 2026-04-30 05:28:04 by Michael Paquier <michael at paquier.xyz>
Latest attachment (0001-Revert-Use-more-consistent-GetDatum-macros-for-some-.patch) at 2026-04-28 05:13:31 from Michael Paquier <michael at paquier.xyz>
    Attachment (0001-Revert-Use-more-consistent-GetDatum-macros-for-some-.patch) at 2026-04-28 05:13:31 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v3-0001-Fix-several-Datum-conversion-inconsistencies.patch) at 2026-03-13 10:55:44 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v2-0002-Remove-DatumGetUInt8-and-UInt8GetDatum.patch) at 2026-01-07 14:03:19 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
    Attachment (v1-0001-Remove-Int8GetDatum-function.patch) at 2026-01-06 14:12:33 from Kirill Reshke <reshkekirill at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Define-DatumGetInt8-function.patch) at 2025-12-29 11:02:34 from Kirill Reshke <reshkekirill at gmail.com> (Patch: Yes)
Incorrect GetDatum() macros not match with SQL function types
First at 2026-04-30 05:46:17 by Michael Paquier <michael at paquier.xyz>
Latest at 2026-04-30 05:46:17 by Michael Paquier <michael at paquier.xyz>
Latest attachment (0001-Fix-more-Datum-conversion-inconsistencies.patch) at 2026-04-30 05:46:17 from Michael Paquier <michael at paquier.xyz>
    Attachment (0001-Fix-more-Datum-conversion-inconsistencies.patch) at 2026-04-30 05:46:17 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
History
When Who What
2026-04-30 05:47:08 Michael Paquier (michael-kun) Added michael-kun as reviewer
2026-04-30 05:46:58 Michael Paquier (michael-kun) Attached mail thread afLsqRjVqKK8hhKk@paquier.xyz
2026-03-27 12:17:31 Peter Eisentraut (petere) Moved from CF PG19-Final to CF PG20-1
2026-03-13 10:58:05 Aleksander Alekseev (a.alekseev) Changed name to Fix several Datum conversion inconsistencies (was: Remove Int8GetDatum, DatumGetUInt8 and UInt8GetDatum funcitons)
2026-03-13 10:57:22 Aleksander Alekseev (a.alekseev) New status: Needs review
2026-03-11 10:51:15 Peter Eisentraut (petere) New status: Waiting on Author
2026-03-01 18:22:26 Peter Eisentraut (petere) Added petere as committer
2026-02-02 09:12:22 Aleksander Alekseev (a.alekseev) Changed tags to Good First Review, Refactoring Only
2026-02-01 00:00:10 CFbot Moved from CF PG19-4 to CF PG19-Final
2026-01-07 14:43:21 Aleksander Alekseev (a.alekseev) New status: Needs review
2026-01-07 14:04:49 Aleksander Alekseev (a.alekseev) Changed authors to Aleksander Alekseev (a.alekseev), Kirill Reshke (reshke)
2026-01-07 14:04:49 Aleksander Alekseev (a.alekseev) Changed name to Remove Int8GetDatum, DatumGetUInt8 and UInt8GetDatum funcitons
2026-01-06 11:52:27 David Rowley (davidrowley) New status: Waiting on Author
2025-12-29 11:04:32 Kirill Reshke (reshke) Attached mail thread CALdSSPhFyb9qLSHee73XtZm1CBWJNo9+JzFNf-zUEWCRW5yEiQ@mail.gmail.com
2025-12-29 11:04:32 Kirill Reshke (reshke) Created patch record
Edit