Expand description
PostgreSQL logical replication I/O.
Enums§
- Replication
Message - A message received from the
PostgreSQLreplication stream.
Functions§
- build_
replication_ config - Builds a [
pgwire_replication::ReplicationConfig] from aPostgresCdcConfig. - build_
start_ replication_ query - Builds the
START_REPLICATIONSQL command. - connect
- Connects to
PostgreSQLas a regular (control-plane) connection. - drop_
replication_ slot - Drop a
PostgreSQLlogical replication slot. - encode_
standby_ status - Encodes a standby status update message.
- ensure_
replication_ slot - Ensures the replication slot exists, creating it if necessary.
- parse_
replication_ message - Parses a raw replication message from byte data.