forked from pgbackrest/pgbackrest
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always restore system objects of database (#49)
Previously, when restoring with an empty filter (an empty array), the system catalog was restored only for these databases: postgres, template1 and template0. In this case, we cannot get metadata from user databases. Because of this, it was required to get the OIDs of the user databases first and restore again with user databases, whose OIDs had been obtained on the previous step. To do one step to get metadata about tables instead of these two steps, the system catalog is restored for all restoring databases.
- Loading branch information
1 parent
4be3db5
commit fb81323
Showing
3 changed files
with
12 additions
and
6 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
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