You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Data restore fails on managed PostgreSQL services
Remove --disable-triggers and --jobs=N from pg_restore. The v7.0.8 fix
for FK constraint violations required superuser privileges that managed
PostgreSQL services (SerenDB, AWS RDS, Neon) don't grant.
Single-threaded restore naturally respects FK dependency order, avoiding
the need for elevated privileges while ensuring data integrity.
Closes#73
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,16 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [7.0.9] - 2025-12-10
6
+
7
+
### Fixed
8
+
9
+
-**Data restore fails on managed PostgreSQL services**: Fixed bug where `pg_restore` would fail with "permission denied: system trigger" on managed PostgreSQL services (SerenDB, AWS RDS, Neon, etc.). The v7.0.8 fix for FK constraint violations used `--disable-triggers`, which requires superuser privileges that managed services don't grant. Replaced parallel restore with single-threaded restore that naturally respects FK dependency order, eliminating the need for elevated privileges.
10
+
11
+
### Changed
12
+
13
+
-**Removed parallel restore**: Data restoration now uses single-threaded `pg_restore` instead of parallel (`--jobs=N`). This is slower but works on all PostgreSQL deployments without requiring superuser privileges. The trade-off is acceptable since correctness and compatibility are prioritized over speed.
0 commit comments