From 73cfa37afe3243c0ccdc6ae72cfcc53a37761521 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 6 Aug 2014 16:11:43 -0400 Subject: [PATCH] Add PG_RETURN_UINT16 macro. Manuel Kniep --- src/include/fmgr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/fmgr.h b/src/include/fmgr.h index a901770948..8c123fbd00 100644 --- a/src/include/fmgr.h +++ b/src/include/fmgr.h @@ -298,6 +298,7 @@ extern struct varlena *pg_detoast_datum_packed(struct varlena * datum); #define PG_RETURN_INT32(x) return Int32GetDatum(x) #define PG_RETURN_UINT32(x) return UInt32GetDatum(x) #define PG_RETURN_INT16(x) return Int16GetDatum(x) +#define PG_RETURN_UINT16(x) return UInt16GetDatum(x) #define PG_RETURN_CHAR(x) return CharGetDatum(x) #define PG_RETURN_BOOL(x) return BoolGetDatum(x) #define PG_RETURN_OID(x) return ObjectIdGetDatum(x) -- 2.40.0