-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly dump permissions for a Babelfish logical database (#244)
Previously, we were not dumping sysadmin membership for a database user during database level dump due to which users other than sysadmin were unable to drop the restored database. This commit fixes the issue by correctly dumping role memberships for all the database roles. Additionally, refactored the code a little bit in dump_babel_utils.c Task: BABEL-4516 Signed-off-by: Rishabh Tanwar [email protected]
- Loading branch information
1 parent
ed8d6d1
commit 4f6179b
Showing
2 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters