Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A4DB5B5DBF9 for ; Sat, 15 Oct 2011 12:24:41 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 65024-02 for ; Sat, 15 Oct 2011 15:24:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 8FD11B5DBE0 for ; Sat, 15 Oct 2011 12:24:35 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p9FFOYlf012655; Sat, 15 Oct 2011 11:24:34 -0400 (EDT) To: Robert Haas cc: Dmitriy Igrishin , pgsql-docs Subject: Re: PQconninfoParse() In-reply-to: References: Comments: In-reply-to Robert Haas message dated "Sat, 15 Oct 2011 06:25:27 -0400" Date: Sat, 15 Oct 2011 11:24:34 -0400 Message-ID: <12654.1318692274@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/53 X-Sequence-Number: 7053 Robert Haas writes: > Maybe we should change this: > Note that only options explicitly specified in the string will have > values set in the result array; no defaults are inserted. > To say something like this: > All legal options will be present in the result array, but only those > explicitly specified in the string will have a corresponding value; no > defaults are inserted. Uh, is that actually a true statement? I thought the result *did* include default values. That's more or less the point of returning them all, after all. regards, tom lane