-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PostgresAdmin] Use pg-logical_replication
Use PG::LogicalReplication::Client to remove subscriptions or publications on a db prior to doing a database reload. Doesn't drop the `MiqRegion`, as was previously done as part of PglogicalSubscription in core: https://github.com/ManageIQ/manageiq/blob/8ca93da126aada556685db5d05aaf5e9a0666900/app/models/pglogical_subscription.rb#L70 But since this is a database reload, and the Region will be removed from the DB anyway, this should not matter, and the necessary code required to perform that delete will be pointless to include in this gem.
- Loading branch information
1 parent
72dfb22
commit 7964013
Showing
2 changed files
with
30 additions
and
0 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