@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.72 2010/06/10 08:13:49 itaga ki Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.73 2010/06/11 10:13:08 heik ki Exp $ -->
<chapter id="high-availability">
<chapter id="high-availability">
<title>High Availability, Load Balancing, and Replication</title>
<title>High Availability, Load Balancing, and Replication</title>
@ -818,8 +818,10 @@ host replication foo 192.168.1.100/32 md5
</para>
</para>
<para>
<para>
The host name and port number of the primary, connection user name,
The host name and port number of the primary, connection user name,
and password are specified in the <filename>recovery.conf</> file or
and password are specified in the <filename>recovery.conf</> file.
the corresponding environment variable on the standby.
The password can also be set in the <filename>~/.pgpass</> file on the
standby (specify <literal>replication</> in the <replaceable>database</>
field).
For example, if the primary is running on host IP <literal>192.168.1.50</>,
For example, if the primary is running on host IP <literal>192.168.1.50</>,
port <literal>5432</literal>, the superuser's name for replication is
port <literal>5432</literal>, the superuser's name for replication is
<literal>foo</>, and the password is <literal>foopass</>, the administrator
<literal>foo</>, and the password is <literal>foopass</>, the administrator