File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -573,6 +573,7 @@ export PGDATA=/var/lib/pgpro/&edn;-&majorversion;/data
573
573
574
574
for i in `seq 1 3`; do
575
575
echo "host replication myuser node$i md5" >> $PGDATA/pg_hba.conf
576
+ echo "host mydb myuser node$i md5" >> $PGDATA/pg_hba.conf
576
577
echo "node$i:5432:mydb:myuser:myuserpassword" >> ~/.pgpass
577
578
done
578
579
chmod 0600 ~/.pgpass
@@ -621,7 +622,7 @@ sudo service postgrespro-&edn;-&majorversion; restart
621
622
It will be replicated to all the other nodes automatically.
622
623
The following example illustrates extension creation on node1.
623
624
<programlisting>
624
- psql --dbname=mydb --username=myuser --host=127.0.0.1 --port=5432 -c "CREATE EXTENSION IF NOT EXISTS multimaster"
625
+ psql --dbname=mydb --username=myuser --host=node1 --port=5432 -c "CREATE EXTENSION IF NOT EXISTS multimaster"
625
626
</programlisting>
626
627
</para>
627
628
<para>
You can’t perform that action at this time.
0 commit comments