pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Dmitriy Igrishin <dmitigr@gmail.com>
Cc: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Re: PQconninfoParse()
Date: Tue, 18 Oct 2011 20:27:47 -0400
Message-ID: <28823.1318984067@sss.pgh.pa.us> (raw )
In-Reply-To: <CA+TgmoY3dNQBjB1SBq_b6Rqj6atHUu9R=eAQbF551qYwAkO6dg@mail.gmail.com >
References: <CAAfz9KOvO3Ef7FL8TbQCWXT52EN1xo29nAsqDXxyoazZ5uOj8A@mail.gmail.com >
<CA+TgmoZTT+X4-MqbxwQ116uaLCBWAXw5EFL6QSMbzU4sMZyz+w@mail.gmail.com >
<CAAfz9KNhwEyFsxKb5t9TtuXD74XV+NMq-qLWb+5WAz8wX0SJ6A@mail.gmail.com >
<CA+TgmoaSVF+=2-01fHB8aKQ8YOiruJnVpgDQJBqXA-aH-YqpOA@mail.gmail.com >
<12654.1318692274@sss.pgh.pa.us >
<CA+TgmoY3dNQBjB1SBq_b6Rqj6atHUu9R=eAQbF551qYwAkO6dg@mail.gmail.com >
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Oct 15, 2011 at 11:24 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 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.
> Well, then I'm confused, because you and Dmitriy seem to be saying
> opposite things.
[ after experimenting with the code ... ] Oh, I had been thinking that
PQconndefaults gives the same result as PQconninfoParse with an
empty-string argument, but that's not the case. Indeed, the former
fills in default values as current values, but the latter does not.
The proposed wording change seems reasonable, except that "have a
corresponding value" seems a bit vague. Maybe better "have a non-null
val field".
regards, tom lane
view thread (11+ messages) latest in thread
Message-ID: <28823.1318984067@sss.pgh.pa.us>
Permalink: ../28823.1318984067@sss.pgh.pa.us/
Also on: postgresql.org/message-id/28823.1318984067@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, dmitigr@gmail.com
Subject: Re: PQconninfoParse()
In-Reply-To: <28823.1318984067@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox