Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group