@ashiba-ts/ddl-pull-pg-dump
v0.1.0
Published
PostgreSQL DDL pull helpers backed by pg_dump for Ashiba.
Readme
@ashiba-ts/ddl-pull-pg-dump
PostgreSQL DDL pull helpers backed by pg_dump for Ashiba.
This package is intentionally separate from @ashiba-ts/driver-adapter-pg because PostgreSQL DDL pull depends on external DBMS tooling such as pg_dump, not on a TypeScript database driver contract.
The package name is deliberately @ashiba-ts/ddl-pull-pg-dump: ddl-pull names the Ashiba capability and pg-dump names the wrapped executable. A generic DDL pull package would need to own equivalent pull behavior for PostgreSQL, MySQL, SQL Server, and other supported database families. This package only wraps explicit PostgreSQL pg_dump usage.
It exposes:
buildPgDumpArgsandcreatePgDumpCommandfor schema-onlypg_dumpexecution.createPgDumpCommandPreviewfor logging or AI-facing diagnostics without leaking passwords embedded in PostgreSQL connection URLs.pullPostgresDdlfor callers that explicitly choose to runpg_dump.
