Skip to main content

Module datums

Module datums 

Source
Expand description

Read retained physical scalar bytes only when a SQL operation observes the value. Type inspection, copying and NULL tests do not invoke this decoder.

Structs§

ArrayShape
Dimensions and lower bounds read from an admitted physical array header.

Functions§

array_shape
Shape functions inspect only the detoasted array header, without resolving or observing its elements.
contains_datum
Whether catalog-free constant evaluation could reach an admitted physical value.
copy_constant_field
Copy a selected constant field at planning time, detoasting variable-width storage without interpreting its scalar contents. Whole records remain deferred.
copy_constant_field_with_control
Admit the selected field’s detoasting workspace, physical destination and retained backing before allocation. Copying preserves bytes without interpreting scalar contents or reading other fields.
read
read_composite_field_with_control
Select one field of a resolved composite. Unreached fields remain unread, including their variable-width headers; binding and planning need only the tuple descriptor catalog.
read_with_catalog
Read an admitted physical value through the current statement’s catalog, without invoking type input or domain checks.
read_with_catalog_and_control
Preserve the caller’s output allowance and cancellation boundary during catalog-dependent physical reads.
read_with_control
read_with_value_catalog_and_control
Decode a reached value through the same borrowed catalog used by SQL comparison, hashing and output.
record_null_test_with_control
Inspect a named row’s live field NULL flags without reading its field payloads. Non-composite datums retain scalar NULL semantics and are not decoded.
type_name