Partial table-data dumps
Support dumping and restoring selected rows from individual tables, including through dump-time filters or replaceable data files that preserve normal restore ordering.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · worked-on · new · moderate
Threads
- [PATCH v1] Allow excluded tables to remain in the pg_restore data-loading path for directory-format dumps
- PoC: pg_dump --filter-data <file> (like Oracle Where Clause on RMAN for specific tables)
- possibility of partial data dumps with pg_dump
- pg_dump --where option
- Add --include-table-data-where option to pg_dump, to export only a subset of table data
- Adding WHERE clause to pg_dump