Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf42ddc4

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 ismentioned explicitly, whatever its value.
1 parent6a771d1 commitf42ddc4

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)

[8]ページ先頭

©2009-2025 Movatter.jp