Function pgx::htup::composite_row_type_make_tuple
source · pub fn composite_row_type_make_tuple(
row: Datum
) -> PgBox<HeapTupleData, AllocatedByRust>
Expand description
Given a pg_sys::Datum
representing a composite row type, return a boxed HeapTupleData
,
which can be used by the various heap_getattr
methods
Safety
This function is safe, but if the provided HeapTupleHeader
is null, it will panic!()