{"modulePath":"github.com/block/pg-sprite","version":"v0.5.5","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/block/pg-sprite/cmd/pg-sprite","name":"main","synopsis":"Command pg-sprite is an online schema-change engine for PostgreSQL.","isRedistributable":true},{"path":"github.com/block/pg-sprite/internal/cli","name":"cli","synopsis":"Package cli defines the pg-sprite command tree (Kong): migrate and status (the optimistic front door), pull, diff, and fmt (the declarative front door), lint and suggest (the offline checker and advisor), capabilities (the embedded support matrix), and reap (the orphan-slot reaper).","isRedistributable":true},{"path":"github.com/block/pg-sprite/internal/cmd/gen-capabilities","name":"main","synopsis":"Command gen-capabilities renders the checked-in support matrix from embedded YAML.","isRedistributable":true},{"path":"github.com/block/pg-sprite/internal/safety","name":"safety","synopsis":"Package safety holds repository-wide tests that pin SAFETY.md's contracts to the code, where a single package cannot legitimately speak for the whole repository.","isRedistributable":true},{"path":"github.com/block/pg-sprite/internal/testutil","name":"testutil","synopsis":"Package testutil is the integration-test harness: a real PostgreSQL in a container plus per-test throwaway schemas.","isRedistributable":true},{"path":"github.com/block/pg-sprite/internal/testutil/modeltest","name":"modeltest","synopsis":"Package modeltest compares schemadiff models in tests.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/applier","name":"applier","synopsis":"Package applier turns decoded changes into shadow-table writes.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/capabilities","name":"capabilities","synopsis":"Package capabilities provides the embedded, validated support matrix and its Markdown renderer.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/checkpoint","name":"checkpoint","synopsis":"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).","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/checksum","name":"checksum","synopsis":"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).","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/copier","name":"copier","synopsis":"Package copier fills the shadow table from its source under the table's lock session.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/dbconn","name":"dbconn","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/decode","name":"decode","synopsis":"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).","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/diffplan","name":"diffplan","synopsis":"Package diffplan is the declarative front door as a library: a parsed desired-state schema in, the routed convergence plan out.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/executor","name":"executor","synopsis":"Package executor runs schema changes against the database.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/internal/chunksql","name":"chunksql","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/lint","name":"lint","synopsis":"Package lint checks DDL offline for patterns the engine would refuse, rewrite, or gate.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/migrate","name":"migrate","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/plan","name":"plan","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/planner","name":"planner","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/preflight","name":"preflight","synopsis":"Package preflight verifies preconditions before the engine writes anything (invariant ST-6).","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/progress","name":"progress","synopsis":"Package progress defines the strategy-wide, machine-readable execution progress contract.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/refusal","name":"refusal","synopsis":"Package refusal holds the routing vocabulary the core's refusals are classified in.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/router","name":"router","synopsis":"Package router assigns every classified statement to an execution backend.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/schemachange","name":"schemachange","synopsis":"Package schemachange orchestrates copy-and-swap schema changes while enforcing LK-2, LK-4, and ST-5.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/schemadiff","name":"schemadiff","synopsis":"Package schemadiff builds the canonical table model both front-ends share and diffs two models into an ordered statement list.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/statement","name":"statement","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/suggest","name":"suggest","synopsis":"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.","isRedistributable":true},{"path":"github.com/block/pg-sprite/pkg/verdict","name":"verdict","synopsis":"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.","isRedistributable":true}],"total":29}}
