Commit d84b57c5 authored by Ben Bodenmiller's avatar Ben Bodenmiller Committed by Achilleas Pipinellis

Slony fixes

parent 8908843d
...@@ -113,7 +113,7 @@ CREATE ROLE slony WITH SUPERUSER LOGIN REPLICATION ENCRYPTED PASSWORD 'password ...@@ -113,7 +113,7 @@ CREATE ROLE slony WITH SUPERUSER LOGIN REPLICATION ENCRYPTED PASSWORD 'password
ALTER ROLE slony SET statement_timeout TO 0; ALTER ROLE slony SET statement_timeout TO 0;
``` ```
Make sure you replace "password string here" with the actual password for the Make sure you replace "password string here" with an actual password for the
user. A password is required. This user must be created on both the old and user. A password is required. This user must be created on both the old and
new database server using the same password. new database server using the same password.
...@@ -230,7 +230,7 @@ Now run the following commands: ...@@ -230,7 +230,7 @@ Now run the following commands:
\i /tmp/migrations.sql \i /tmp/migrations.sql
``` ```
To verify if the structure is in place close the session, start it again, then To verify if the structure is in place close the session (`\q`), start it again, then
run `\d`. If all went well you should see output along the lines of the run `\d`. If all went well you should see output along the lines of the
following: following:
...@@ -459,7 +459,7 @@ main ...@@ -459,7 +459,7 @@ main
Upload this script to the _target_ server and execute it as follows: Upload this script to the _target_ server and execute it as follows:
```shell ```shell
bash path/to/the/script/above.sh sudo bash path/to/the/script/above.sh
``` ```
This corrects the ownership of sequences and reset the next value for the This corrects the ownership of sequences and reset the next value for the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment