Skip to main content

Module schema

Module schema 

Source
Expand description

Schema bootstrap via pg_dump --schema-only, and target column verification.

Structs§

TargetColumn
Target column metadata used by the sink to cast values.

Functions§

apply_schema
Create the schemas and apply the dump in one transaction.
dump_schema
Run pg_dump --schema-only for tables and return SQL safe for batch_execute.
filter_dump
Remove psql meta-commands and session settings that are not portable across server versions. Statements that define objects are kept verbatim.
target_columns
verify_columns
Verify that every source column exists on the target with a compatible declaration.