Directories
¶
| Path | Synopsis |
|---|---|
|
Package applier turns decoded changes into shadow-table writes.
|
Package applier turns decoded changes into shadow-table writes. |
|
Package capabilities provides the embedded, validated support matrix and its Markdown renderer.
|
Package capabilities provides the embedded, validated support matrix and its Markdown renderer. |
|
Package checkpoint persists the one durable resume record per target — the Checkpoint — in the target database, enforcing ST-1 (one row per target, written atomically), ST-2 (an incompatible record is distinguishable from a transient read error, and neither is mistaken for the absence of a record), and ST-10 (the table evolves additively, and an older engine never alters a newer one's table).
|
Package checkpoint persists the one durable resume record per target — the Checkpoint — in the target database, enforcing ST-1 (one row per target, written atomically), ST-2 (an incompatible record is distinguishable from a transient read error, and neither is mistaken for the absence of a record), and ST-10 (the table evolves additively, and an older engine never alters a newer one's table). |
|
Package checksum compares the shadow table with its source and mints the proofs the cutover demands of that comparison (CO-1, CO-2, CO-3).
|
Package checksum compares the shadow table with its source and mints the proofs the cutover demands of that comparison (CO-1, CO-2, CO-3). |
|
Package copier fills the shadow table from its source under the table's lock session.
|
Package copier fills the shadow table from its source under the table's lock session. |
|
Package dbconn is the engine's database connectivity layer: pgx pool construction with safe session defaults (lock_timeout, statement_timeout), RDS/Aurora TLS, bounded retries for transient errors, and a helper to terminate backends blocking a session's lock acquisition.
|
Package dbconn is the engine's database connectivity layer: pgx pool construction with safe session defaults (lock_timeout, statement_timeout), RDS/Aurora TLS, bounded retries for transient errors, and a helper to terminate backends blocking a session's lock acquisition. |
|
Package decode owns the copy-and-swap route's logical-decoding state and the contracts its consumers depend on (ST-3, ST-4, CO-4, CO-8).
|
Package decode owns the copy-and-swap route's logical-decoding state and the contracts its consumers depend on (ST-3, ST-4, CO-4, CO-8). |
|
Package diffplan is the declarative front door as a library: a parsed desired-state schema in, the routed convergence plan out.
|
Package diffplan is the declarative front door as a library: a parsed desired-state schema in, the routed convergence plan out. |
|
Package executor runs schema changes against the database.
|
Package executor runs schema changes against the database. |
|
internal
|
|
|
chunksql
Package chunksql holds the statements that put a chunk of source rows into the shadow, and the search_path and output settings they run under.
|
Package chunksql holds the statements that put a chunk of source rows into the shadow, and the search_path and output settings they run under. |
|
Package lint checks DDL offline for patterns the engine would refuse, rewrite, or gate.
|
Package lint checks DDL offline for patterns the engine would refuse, rewrite, or gate. |
|
Package migrate is the imperative front door as a library: one parsed statement in — gate, resolve, introspect, classify, route, execute — and exactly one verdict out.
|
Package migrate is the imperative front door as a library: one parsed statement in — gate, resolve, introspect, classify, route, execute — and exactly one verdict out. |
|
Package plan defines the machine-readable dry-run plan report: the stable JSON contract an operator or orchestrator consumes to decide whether and how a change would execute.
|
Package plan defines the machine-readable dry-run plan report: the stable JSON contract an operator or orchestrator consumes to decide whether and how a change would execute. |
|
Package planner classifies schema-change statements: for each operation it decides whether PostgreSQL can run it online natively (possibly via a safer idiom it suggests), whether it needs the engine's copy-and-swap path, or whether it is refused.
|
Package planner classifies schema-change statements: for each operation it decides whether PostgreSQL can run it online natively (possibly via a safer idiom it suggests), whether it needs the engine's copy-and-swap path, or whether it is refused. |
|
Package preflight verifies preconditions before the engine writes anything (invariant ST-6).
|
Package preflight verifies preconditions before the engine writes anything (invariant ST-6). |
|
Package progress defines the strategy-wide, machine-readable execution progress contract.
|
Package progress defines the strategy-wide, machine-readable execution progress contract. |
|
Package refusal holds the routing vocabulary the core's refusals are classified in.
|
Package refusal holds the routing vocabulary the core's refusals are classified in. |
|
Package router assigns every classified statement to an execution backend.
|
Package router assigns every classified statement to an execution backend. |
|
Package schemachange orchestrates copy-and-swap schema changes while enforcing LK-2, LK-4, and ST-5.
|
Package schemachange orchestrates copy-and-swap schema changes while enforcing LK-2, LK-4, and ST-5. |
|
Package schemadiff builds the canonical table model both front-ends share and diffs two models into an ordered statement list.
|
Package schemadiff builds the canonical table model both front-ends share and diffs two models into an ordered statement list. |
|
Package statement parses SQL through the real PostgreSQL grammar (wasilibs/go-pgquery, Wasm libpg_query) and reports the facts the engine's front door needs.
|
Package statement parses SQL through the real PostgreSQL grammar (wasilibs/go-pgquery, Wasm libpg_query) and reports the facts the engine's front door needs. |
|
Package suggest is the advisory surface: it maps DDL that is risky as written to the safer native form the engine would run instead, offline and without executing anything.
|
Package suggest is the advisory surface: it maps DDL that is risky as written to the safer native form the engine would run instead, offline and without executing anything. |
|
Package verdict is the engine's structured outcome contract: every migrate invocation ends in exactly one verdict — executed natively, refused with a typed reason and, where one exists, a safer native idiom, or failed during execution with the executor's stable outcome code and a disclosure of what committed before the failure.
|
Package verdict is the engine's structured outcome contract: every migrate invocation ends in exactly one verdict — executed natively, refused with a typed reason and, where one exists, a safer native idiom, or failed during execution with the executor's stable outcome code and a disclosure of what committed before the failure. |
Click to show internal directories.
Click to hide internal directories.