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

Function BoolGetDatum

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

Source from the content-addressed store, hash-verified

483 */
484static inline bool DatumGetBool(Datum d) { return (bool)(d != 0); }
485static inline Datum BoolGetDatum(bool b) { return (b ? 1 : 0); }
486
487static inline char DatumGetChar(Datum d) { return (char) d; }
488static inline Datum CharGetDatum(char c) { return (Datum) c; }

Callers 15

pg_visibility_mapFunction · 0.85
pg_visibilityFunction · 0.85
pg_visibility_map_relFunction · 0.85
pg_visibility_relFunction · 0.85
leftmostvalue_boolFunction · 0.85
bt_page_print_tuplesFunction · 0.85
brin_page_itemsFunction · 0.85
gist_page_items_byteaFunction · 0.85
gist_page_itemsFunction · 0.85
hash_bitmap_infoFunction · 0.85
InitializeArrayFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_predtestFunction · 0.68
gp_keepalives_checkFunction · 0.68