Skip to content

Commit 73cfa37

Browse files
committed
Add PG_RETURN_UINT16 macro.
Manuel Kniep
1 parent 1d41739 commit 73cfa37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/fmgr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ extern struct varlena *pg_detoast_datum_packed(struct varlena * datum);
298298
#define PG_RETURN_INT32(x) return Int32GetDatum(x)
299299
#define PG_RETURN_UINT32(x) return UInt32GetDatum(x)
300300
#define PG_RETURN_INT16(x) return Int16GetDatum(x)
301+
#define PG_RETURN_UINT16(x) return UInt16GetDatum(x)
301302
#define PG_RETURN_CHAR(x) return CharGetDatum(x)
302303
#define PG_RETURN_BOOL(x) return BoolGetDatum(x)
303304
#define PG_RETURN_OID(x) return ObjectIdGetDatum(x)

0 commit comments

Comments
 (0)