Fujii Masao wrote:
> On Thu, Feb 25, 2010 at 5:03 PM, Thom Brown <thombrown@gmail.com> wrote:
>> It looks as if Heikki has already changed the page anyway, which
>> includes and example of a parameter setting for primary_conninfo and
>> removes links to the libpq connection stuff. Problem solved :)
>
> Yeah, Heikki removed the link from
> http://developer.postgresql.org/pgdocs/postgres/streaming-replication.html#STREAMING-REPLICATION-SETUP
>
> but it still exists in
> http://developer.postgresql.org/pgdocs/postgres/standby-settings.html
>
> So I think that we still need to modify the document about
> primary_conninfo to suit your need. No?
Yeah, it's not very clear as it is.
How about this:
--- a/doc/src/sgml/recovery-config.sgml
+++ b/doc/src/sgml/recovery-config.sgml
@@ -193,7 +193,8 @@ restore_command = 'copy "C:\\server\\archivedir\\%f"
"%p"'
<listitem>
<para>
Specifies a connection string to be used for the standby server
- to connect with the primary. This string is in the same format as
+ to connect with the primary. This string is in the format
+ accepted by the libpq <function>PQconnectdb</function> function,
described in <xref linkend="libpq-connect">. If any option is
unspecified in this string, then the corresponding environment
variable (see <xref linkend="libpq-envars">) is checked. If the
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com