File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// ABOUTME: Initial replication command for snapshot schema and data copy
22// ABOUTME: Performs full database dump and restore from source to target
33
4+ use crate :: migration:: dump:: remove_restricted_role_grants;
45use crate :: { checkpoint, migration, postgres} ;
56use anyhow:: { bail, Context , Result } ;
67use std:: io:: { self , Write } ;
@@ -229,7 +230,7 @@ pub async fn init(
229230 . context ( "Failed to remove SUPERUSER from globals dump" ) ?;
230231 migration:: remove_restricted_guc_settings ( globals_file. to_str ( ) . unwrap ( ) )
231232 . context ( "Failed to remove restricted parameter settings from globals dump" ) ?;
232- migration :: remove_restricted_role_grants ( globals_file. to_str ( ) . unwrap ( ) )
233+ remove_restricted_role_grants ( globals_file. to_str ( ) . unwrap ( ) )
233234 . context ( "Failed to remove restricted role grants from globals dump" ) ?;
234235
235236 // Step 2: Restore global objects
You can’t perform that action at this time.
0 commit comments