Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 1AF0E633635 for ; Wed, 24 Feb 2010 09:47:23 -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 14506-03-3 for ; Wed, 24 Feb 2010 13:47:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mail.postgresql.org (Postfix) with ESMTP id A9CBB632A1B for ; Wed, 24 Feb 2010 09:45:45 -0400 (AST) Received: by bwz8 with SMTP id 8so3684381bwz.3 for ; Wed, 24 Feb 2010 05:45:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=WqKbA1CjjqstoympUzeRHQ9sr9MR+xEqmiVAYVp6Yfk=; b=RpatYnY9WfohM1WCkvp+00gpW/jGvxTpi2C7g7SahzqoK1wdJNASUNKz5QUYaMuyAu xO10PHV+/Rccpqvh9gS6oETGZI46mgjbGCBSLJxYkLrQaShEsBri4f7ddIlGMwgeSv5L vnF/53kmJ0aqb/BuB4oHT0Y7kg7os+FRZUNI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=YLaiaqCJJPBGWIqfV3it74hFl5zZFMQNeTjTQoyL4EyfbRNu4Gzn9te4DpB4T2GmkK A3jBc1P7qCccQBkCofgyfYpUhtrV7/8oHWbkz/glytXc0nRRHetn9X8Bydkg3P7xTWsJ glEHwjtwALtSxmoozsZLaHEyjjoZYk+Ayc9gs= MIME-Version: 1.0 Received: by 10.102.235.36 with SMTP id i36mr5330147muh.56.1267019139915; Wed, 24 Feb 2010 05:45:39 -0800 (PST) In-Reply-To: References: <3f0b79eb1002111757y3d11102n7fdfcee8f332f6d4@mail.gmail.com> From: Thom Brown Date: Wed, 24 Feb 2010 13:45:18 +0000 Message-ID: Subject: Re: Confusing link in streaming replication section To: Fujii Masao Cc: pgsql-docs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/24 X-Sequence-Number: 5340 On 12 February 2010 16:15, Thom Brown wrote: > On 12 February 2010 01:57, Fujii Masao wrote: >> On Thu, Feb 11, 2010 at 7:43 AM, Thom Brown wrote: >>> I'm looking at the latest docs for PostgreSQL 9.0 >>> (http://developer.postgresql.org/pgdocs/postgres/streaming-replication.= html) >>> and under the description of primary_conninfo, there's a link to >>> section 30.1 (http://developer.postgresql.org/pgdocs/postgres/libpq-con= nect.html) >>> which is supposed to describe the string format. =A0Having looked at >>> that page, however, it's not crystal clear what is meant by this >>> string format. =A0One can only assume it's referring to the >>> PQconnectdbParams section and the keywords that can be used for it, >>> which would also apply to a connection string, but there's no mention >>> of a "format" on that page. >> >> Thanks for the report! >> >> Though at first PQconnectdb() had been linked by the SR doc, instead >> PQconnectdbParams() seems to have been linked wrongly when it was commit= ted. >> How about changing the link so as to point to PQconnectdb() again? Or >> copy-pasting the following description from PQconnectdb() to the SR doc? >> >> ----------- >> The passed string can be empty to use all default parameters, or it can >> contain one or more parameter settings separated by whitespace. Each >> parameter setting is in the form keyword =3D value. Spaces around the eq= ual >> sign are optional. To write an empty value, or a value containing spaces= , >> surround it with single quotes, e.g., keyword =3D 'a value'. Single quot= es >> and backslashes within the value must be escaped with a backslash, >> i.e., \' and \\. >> >> The currently recognized parameter key words are the same as above. >> ----------- > > Hmmm... well that last sentence refers to parameter key words which > won't appear on the SR page unless you copy and paste all that > information too. > > I think the problem I have with there being a link to the libpq > control functions page is that the context of the settings isn't the > same, meaning the text on that page is specifically targetting people > looking for libpq info, rather than providing more generic information > which may be better placed in an appendix or something similar. > > May I suggest a page on connection paramaters/connection strings which > can be referenced by multiple locations? =A0Otherwise I can imagine the > same information being presented a number of times throughout the > documentation. > > Thanks > > Thom > Anyone had any thoughts on this? Thom