Hooks-driven Migrations
Hooks are the natural answer when pgferry rightly tells you something exists but shouldn’t be recreated for you automatically.
Typical use cases
Section titled “Typical use cases”- create extensions before data load
- run
ANALYZEafter bulk COPY - clean orphaned data before foreign keys
- recreate views, materialized views, routines, and validation SQL after the built-in pipeline