heap_copy_tuple_as_datum
looks promising…
http://doxygen.postgresql.org/heaptuple_8c.html#abfa9096cd7909cb17a6acfdc7b31b7ad
heap_copy_tuple_as_datum
looks promising…
http://doxygen.postgresql.org/heaptuple_8c.html#abfa9096cd7909cb17a6acfdc7b31b7ad