- Add configurable version support and appropriately set dump version based upon Postgres version
- When sorting while saving, prefer GROUP, ROLE, and USER before all other objects
- Add support for Postgres 12 / pg_dump archive 1.14.0 format
- Add TABLESPACE to supported objects when adding an entry
- Minor typing and docstring updates
- Add mapping of
desc
/object type to dump section inpgdumplib.constants
- Change
pgdumplib.dump.Entry
to use the section mapping instead of as an assignable attribute pgdumplib.dump.Dump.add_entry
function signature change, droppingsection
and movingdesc
to the first argpgdumplib.dump.Dump.add_entry
validates a provideddump_id
is above0
and is not already used- Change
pgdumplib.dump.Dump.save
behavior to provide a bit of forced ordering and toplogical sorting - No longer does two-pass writing on save if the dump has no data
- Cleanup type annotations
- Distribute as a sdist instead of bdist
- Full read/write support of custom formatted pg_dump files
- Refactored API
- Documentation and docstring updates
- Make the dump ID value part of the entry
- Distribution Fixes
- Initial alpha release