Re: PQconninfoParse()

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: PQconninfoParse()
Date: 2011-10-15 17:21:52
Message-ID: CAAfz9KMtsyjGuqTKxWr7yUbtFsnvcCzAGsvzYSBjMhkBpDBNzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

2011/10/15 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>

> Robert Haas <robertmhaas(at)gmail(dot)com> 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.
>
Oops, indeed, if I understand your correctly thats what
I meant in my first post - "values of other options will have
NULL values" instead of "no defaults are inserted".

>
> regards, tom lane
>

--
// Dmitriy.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Simon Riggs 2011-10-16 19:21:31 Re: after failover?
Previous Message Tom Lane 2011-10-15 15:24:34 Re: PQconninfoParse()