Docs were unclear on whether or not database=replication was required,
nor did they mention the FATAL error this causes if database parameter is
mentioned explicitly, whatever its value.
-
+
High Availability, Load Balancing, and Replication
# and port 5432 as the user "foo" whose password is "foopass".
primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
+
+ You do not need to specify database=replication> in the
+ primary_conninfo. The required option will be added
+ automatically. If you mention the database parameter at all within
+ primary_conninfo then a FATAL error will be raised.