Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 760491BFF918 for ; Fri, 6 Apr 2012 03:09:28 -0300 (ADT) Received: from mailout-de.gmx.net ([213.165.64.22]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SG2MP-0004EG-TN for pgsql-hackers@postgresql.org; Fri, 06 Apr 2012 06:09:27 +0000 Received: (qmail invoked by alias); 06 Apr 2012 06:09:12 -0000 Received: from a88-115-218-87.elisa-laajakaista.fi (EHLO [10.0.0.108]) [88.115.218.87] by mail.gmx.net (mp002) with SMTP; 06 Apr 2012 08:09:12 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX18mzpt6B5AmcuQzMmgTml3xNNf6IBwGmpoCvOE1EQ hf4QIzjE1PEEzH Message-ID: <1333692550.32606.1.camel@vanquo.pezone.net> Subject: Re: Another review of URI for libpq, v7 submission From: Peter Eisentraut To: Alvaro Herrera Cc: Alex , Heikki Linnakangas , Pg Hackers Date: Fri, 06 Apr 2012 09:09:10 +0300 In-Reply-To: <1333681634-sup-8491@alvh.no-ip.org> References: <87d38eaq3f.fsf@commandprompt.com> <87k42lsgck.fsf@commandprompt.com> <20120317145110.GA25172@gmail.com> <8762dyuda3.fsf@commandprompt.com> <87k42cb9dr.fsf@commandprompt.com> <1332868938.24269.1.camel@vanquo.pezone.net> <87ty19kfz0.fsf@commandprompt.com> <87pqbxk6bf.fsf@commandprompt.com> <1333644733.2524.0.camel@vanquo.pezone.net> <1333663521-sup-937@alvh.no-ip.org> <1333681634-sup-8491@alvh.no-ip.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/300 X-Sequence-Number: 206103 On fre, 2012-04-06 at 00:25 -0300, Alvaro Herrera wrote: > Some moments of radical thinking later, I became unhappy with the fact > that the conninfo stuff and parameter keywords are all crammed in the > PQconnectdbParams description. This feels wrong to me, even more so > after we expand it even more to add URIs to the mix. I think it's > better to create a separate sect1 (which I've entitled "Connection > Strings") which explains the conninfo and URI formats as well as > accepted keywords. The new section is referenced from the multiple > places that need it, without having to point to PQconnectdbParams. Yes, it should be split out. But the libpq chapter already has too many tiny sect1s. I think it should be a sect2 under "Database Connection Control".