MCPcopy Create free account
hub / github.com/apache/cloudberry / Int16GetDatum

Function Int16GetDatum

src/include/postgres.h:497–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495
496static inline int16 DatumGetInt16(Datum d) { return (int16) d; }
497static inline Datum Int16GetDatum(int16 i16) { return (Datum) i16; }
498
499static inline uint16 DatumGetUInt16(Datum d) { return (uint16) d; }
500static inline Datum UInt16GetDatum(uint16 ui16) { return (Datum) ui16; }

Callers 15

gbt_num_fetchFunction · 0.85
leftmostvalue_int2Function · 0.85
FromValueFunction · 0.85
InitializeArrayFunction · 0.85
ArrowScalarToDatumFunction · 0.85
Int16ToDatumFunction · 0.85
pg_buffercache_pagesFunction · 0.85
plpgsql_fulfill_promiseFunction · 0.85
serialize_expr_statsFunction · 0.85
RelationBuildTupleDescFunction · 0.85

Calls

no outgoing calls

Tested by 4

spgist_name_chooseFunction · 0.68
setAOFormatVersionFunction · 0.68
gp_keepalives_checkFunction · 0.68