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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -104,8 +104,8 @@ It's quite easy to create a backup and start a new replica:
104
104
with testgres.get_new_node('master') as master:
105
105
master.init().start()
106
106
with master.backup() as backup:
107
-
replica = backup.spawn_replica('replica').start()
108
-
print(replica.execute('postgres', 'select 1'))
107
+
replica = backup.spawn_replica('replica').start()
108
+
print(replica.execute('postgres', 'select 1'))
109
109
```
110
110
111
111
> Note: you could take a look at [`pg_pathman`](https://github.com/postgrespro/pg_pathman) to get an idea of `testgres`' capabilities.
0 commit comments