Expand description
Safe access to Postgres’ Server Programming Interface (SPI).
Structs
Represents the set of
pg_sys::Datum
s in a pg_sys::HeapTuple
Represents a single
pg_sys::Datum
inside a SpiHeapTupleData
Enums
These match the Postgres
#define
d constants prefixed SPI_ERROR_*
that you can find in pg_sys
.
It is hypothetically possible for a Postgres-defined status code to be 0
, AKA NULL
, however,
this should not usually occur in Rust code paths. If it does happen, please report such bugs to the pgx repo.These match the Postgres
#define
d constants prefixed SPI_OK_*
that you can find in pg_sys
.