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(replication): Skip GRANT statements with GRANTED BY rdsadmin
AWS RDS dumps include GRANT statements with "GRANTED BY rdsadmin" clauses
that fail on restore because only rdsadmin can grant privileges as rdsadmin.
This fix filters out GRANT statements that reference restricted grantors:
- rdsadmin
- rds_superuser
- rdsrepladmin
- rds_replication
Fixes "permission denied to grant privileges as role rdsadmin" errors.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [5.3.6] - 2025-12-02
6
+
7
+
### Fixed
8
+
9
+
-**Skip GRANT statements with restricted GRANTED BY clauses**: `GRANT` statements that include `GRANTED BY rdsadmin`, `GRANTED BY rds_superuser`, or similar RDS admin roles are now automatically commented out during globals restore, preventing "permission denied to grant privileges as role" errors on AWS RDS targets.
0 commit comments