From 8073a294f01abc9f1bdeb69cdfc1d5a16f4e9b3f Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 16 Jul 2014 10:58:05 +0900 Subject: [PATCH] Formatting fixes Conflicts: QUICKSTART.md --- QUICKSTART.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/QUICKSTART.md b/QUICKSTART.md index 45ed38a9..257f9f70 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -133,18 +133,21 @@ Master setup - create user and database: - CREATE ROLE repmgr_usr LOGIN SUPERUSER; - CREATE DATABASE repmgr_db OWNER repmgr_usr; + ``` + CREATE ROLE repmgr_usr LOGIN SUPERUSER; + CREATE DATABASE repmgr_db OWNER repmgr_usr; + ``` - configure postgresql.conf for replication (see above) - update pg_hba.conf: - host repmgr_usr repmgr_db 192.168.1.0/24 trust - host replication all 192.168.1.0/24 trust - - Restart the PostgreSQL server after making these changes. + ``` + host repmgr_usr repmgr_db 192.168.1.0/24 trust + host replication all 192.168.1.0/24 trust + ``` + Restart the PostgreSQL server after making these changes. 2. Create the repmgr configuration file: @@ -163,7 +166,6 @@ Master setup [2014-07-04 10:43:42] [INFO] master register: creating database objects inside the repmgr_test schema [2014-07-04 10:43:43] [NOTICE] Master node correctly registered for cluster test with id 1 (conninfo: host=localhost user=repmgr_usr dbname=repmgr_db) - -d is the database defined in repmgr.conf file. Slave/standby setup -------------------