Skip to content

Commit f42ddc4

Browse files
Clarify docs about database parameter in streaming replication primary_conninfo.
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.
1 parent 6a771d1 commit f42ddc4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/src/sgml/high-availability.sgml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.53 2010/03/02 21:18:59 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.54 2010/03/19 19:31:06 sriggs Exp $ -->
22

33
<chapter id="high-availability">
44
<title>High Availability, Load Balancing, and Replication</title>
@@ -922,6 +922,11 @@ host replication foo 192.168.1.100/32 md5
922922
# and port 5432 as the user "foo" whose password is "foopass".
923923
primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
924924
</programlisting>
925+
926+
You do not need to specify <literal>database=replication</> in the
927+
<varname>primary_conninfo</varname>. The required option will be added
928+
automatically. If you mention the database parameter at all within
929+
<varname>primary_conninfo</varname> then a FATAL error will be raised.
925930
</para>
926931
</sect2>
927932
</sect1>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy