Skip to main content

Module schema

Module schema 

Source
Expand description

PostgreSQL relation schema cache.

Caches the schema (column metadata) for each relation received in pgoutput Relation messages. Required because DML messages only reference relations by OID — the schema must be looked up from this cache.

Structs§

RelationCache
Cache of relation schemas received from pgoutput Relation messages.
RelationInfo
Cached information about a PostgreSQL relation (table).

Functions§

cdc_envelope_schema
Builds the CDC envelope schema used by PostgresCdcSource.