Skip to main content

Module types

Module types 

Source
Expand description

PostgreSQL type OIDs and text-format value encoding/decoding.

This is intentionally narrow — it covers the seven common OIDs needed for TR-management queries (pg_is_in_recovery, pg_last_wal_replay_lsn, failover status, tenant quota config, etc.). Binary format is out of scope; everything rides the simple-query text path.

Modules§

oid
PostgreSQL type OIDs the backend client understands.

Enums§

ParamValue
Minimal parameter-value enum covering the seven supported OIDs.
TextValue
A single column’s text-format value as received from the backend.

Functions§

encode_literal
Encode a Rust value as a PostgreSQL text-format parameter.