mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Add PG_RETURN_UINT16 macro.
Manuel Kniep
This commit is contained in:
parent
1d41739e5a
commit
73cfa37afe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user