Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3F2F1632D86 for ; Thu, 25 Feb 2010 07:09:47 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 47746-05 for ; Thu, 25 Feb 2010 11:09:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og110.obsmtp.com (exprod7og110.obsmtp.com [64.18.2.173]) by mail.postgresql.org (Postfix) with SMTP id 4AE0A632D07 for ; Thu, 25 Feb 2010 07:09:36 -0400 (AST) Received: from source ([209.85.160.180]) by exprod7ob110.postini.com ([64.18.6.12]) with SMTP ID DSNKS4ZabvroSFMqzJW3T1V3AM/10GxvNXbd@postini.com; Thu, 25 Feb 2010 03:09:35 PST Received: by gyb11 with SMTP id 11so870705gyb.39 for ; Thu, 25 Feb 2010 03:09:34 -0800 (PST) Received: by 10.150.253.9 with SMTP id a9mr1207105ybi.65.1267089323532; Thu, 25 Feb 2010 01:15:23 -0800 (PST) Received: from ?192.168.1.117? (dsl-hkibrasgw2-ff67c300-165.dhcp.inet.fi [88.195.103.165]) by mx.google.com with ESMTPS id 7sm2382824ywf.25.2010.02.25.01.15.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Feb 2010 01:15:22 -0800 (PST) Message-ID: <4B863FA6.90706@enterprisedb.com> Date: Thu, 25 Feb 2010 11:15:18 +0200 From: Heikki Linnakangas Organization: EnterpriseDB User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: Fujii Masao CC: Thom Brown , pgsql-docs@postgresql.org Subject: Re: Confusing link in streaming replication section References: <3f0b79eb1002111757y3d11102n7fdfcee8f332f6d4@mail.gmail.com> <3f0b79eb1002241845p782c5e49v53a48be5aa67abf0@mail.gmail.com> <3f0b79eb1002250020y81e9f44g54e3021edcaebdc3@mail.gmail.com> In-Reply-To: <3f0b79eb1002250020y81e9f44g54e3021edcaebdc3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.838 tagged_above=-10 required=5 tests=BAYES_00=-2.599, FS_REPLICA=1.041, SARE_SPEC_REPLICA=0.72 X-Spam-Level: X-Archive-Number: 201002/41 X-Sequence-Number: 5357 Fujii Masao wrote: > On Thu, Feb 25, 2010 at 5:03 PM, Thom Brown 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"' 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 PQconnectdb function, described in . If any option is unspecified in this string, then the corresponding environment variable (see ) is checked. If the -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com