Unverified Commit d61d58e9 authored by Dimitri Fontaine's avatar Dimitri Fontaine
Browse files

Implement schema editing.

Add a facility to dump DDL commands for a specific set of tables, and
include also their indexes and the foreign key definitions that point to
selected tables. The command is pgcopydb dump sql-files --filters ...

Each SQL object definition is saved in their own file: <oid>.sql

Later implement a way to use the saved files instead of the pg_dump archive
contents when preparing the schema on the target database, in a way that if
the SQL files have been edited the new schema is installed there.
parent a68032a5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment