From d4a080b8a190c4ba434a390939c995a50da12cf6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 11 Mar 2026 10:46:08 +0100 Subject: [PATCH] Remove Int8GetDatum function We have no uses of Int8GetDatum in our tree and did not have for a long time (or never), and the inverse does not exist either. Author: Kirill Reshke Suggested-by: Tom Lane Discussion: https://www.postgresql.org/message-id/flat/CALdSSPhFyb9qLSHee73XtZm1CBWJNo9+JzFNf-zUEWCRW5yEiQ@mail.gmail.com --- src/include/postgres.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/include/postgres.h b/src/include/postgres.h index a7a6584e762..046ba678faf 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -134,16 +134,6 @@ CharGetDatum(char X) return (Datum) X; } -/* - * Int8GetDatum - * Returns datum representation for an 8-bit integer. - */ -static inline Datum -Int8GetDatum(int8 X) -{ - return (Datum) X; -} - /* * DatumGetUInt8 * Returns 8-bit unsigned integer value of a datum.