feat: add PostgreSQL archive backend - #724
Conversation
|
Hey @yunwei37, thanks a lot for the contribution. I'll review this when able. |
|
Thanks again for taking on PostgreSQL support — the implementation is useful and provides a good reference for the database-specific pieces. I think PostgreSQL needs to be integrated as a first-class archive backend across the command surface: view, export, dump, archive, resume, and applicable tools commands such as dedupe, rather than introduced through command-specific branches in only archive and resume. That likely means extending the existing source/archive abstractions so commands operate on a backend-neutral target, with SQLite and PostgreSQL providing their respective implementations. I may rework this in that direction, using this PR as a reference where helpful. |
Closes #723.
Summary
Validation
Scope
This PR intentionally covers the archive/resume storage path only. SQLite remains supported and remains the default. PostgreSQL credentials are supplied at runtime and are not emitted in help defaults or persisted in session arguments.