Skip to main content

Module postgres

Module postgres 

Source
Expand description

PostgreSQL bootstrap provider for reading initial data from PostgreSQL databases

Re-exports§

pub use crate::config::PostgresBootstrapConfig;
pub use crate::config::SslMode;
pub use crate::config::TableKeyConfig;

Structs§

PostgresBootstrapProvider
Bootstrap provider for PostgreSQL sources
PostgresBootstrapProviderBuilder
Builder for PostgresBootstrapProvider

Functions§

snapshot_position_bytes
Encodes the bootstrap snapshot boundary as a 16-byte source-position [ snapshot_lsn (8 BE) | u64::MAX (8 BE) ], matching the CDC source’s [ commit_lsn | in-transaction offset ] encoding.