Re: [DOCS] PQconninfoParse()

2012-03-22 Thread Robert Haas
On Tue, Oct 18, 2011 at 8:27 PM, Tom Lane wrote: > Robert Haas writes: >> On Sat, Oct 15, 2011 at 11:24 AM, Tom Lane 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. > >>

Re: [DOCS] PQconninfoParse()

2011-10-18 Thread Tom Lane
Robert Haas writes: > On Sat, Oct 15, 2011 at 11:24 AM, Tom Lane 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

Re: [DOCS] PQconninfoParse()

2011-10-18 Thread Robert Haas
On Sat, Oct 15, 2011 at 11:24 AM, Tom Lane wrote: > 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 wil

Re: [DOCS] PQconninfoParse()

2011-10-15 Thread Dmitriy Igrishin
2011/10/15 Tom Lane > 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 resu

Re: [DOCS] PQconninfoParse()

2011-10-15 Thread Tom Lane
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

Re: [DOCS] PQconninfoParse()

2011-10-15 Thread Dmitriy Igrishin
2011/10/15 Dmitriy Igrishin > > > 2011/10/15 Robert Haas > >> On Mon, Oct 10, 2011 at 1:31 PM, Dmitriy Igrishin >> wrote: >> > Hey Robert, >> > >> > 2011/10/10 Robert Haas >> >> >> >> On Tue, Sep 27, 2011 at 9:13 AM, Dmitriy Igrishin >> >> wrote: >> >> > First, >> >> > "Returns parsed connect

Re: [DOCS] PQconninfoParse()

2011-10-15 Thread Dmitriy Igrishin
2011/10/15 Robert Haas > On Mon, Oct 10, 2011 at 1:31 PM, Dmitriy Igrishin > wrote: > > Hey Robert, > > > > 2011/10/10 Robert Haas > >> > >> On Tue, Sep 27, 2011 at 9:13 AM, Dmitriy Igrishin > >> wrote: > >> > First, > >> > "Returns parsed connection options from the provided connection > stri

Re: [DOCS] PQconninfoParse()

2011-10-15 Thread Robert Haas
On Mon, Oct 10, 2011 at 1:31 PM, Dmitriy Igrishin wrote: > Hey Robert, > > 2011/10/10 Robert Haas >> >> On Tue, Sep 27, 2011 at 9:13 AM, Dmitriy Igrishin >> wrote: >> > First, >> > "Returns parsed connection options from the provided connection string." >> > Its false. The returned array contain

Re: [DOCS] PQconninfoParse()

2011-10-10 Thread Dmitriy Igrishin
Hey Robert, 2011/10/10 Robert Haas > On Tue, Sep 27, 2011 at 9:13 AM, Dmitriy Igrishin > wrote: > > First, > > "Returns parsed connection options from the provided connection string." > > Its false. The returned array contains all options, rather than which > only > > parsed from the provided c

Re: [DOCS] PQconninfoParse()

2011-10-10 Thread Robert Haas
On Tue, Sep 27, 2011 at 9:13 AM, Dmitriy Igrishin wrote: > First, > "Returns parsed connection options from the provided connection string." > Its false. The returned array contains all options, rather than which only > parsed from the provided connection string. This fact must be specified in > t

[DOCS] PQconninfoParse()

2011-09-27 Thread Dmitriy Igrishin
Hey, I suggest to clarify the documentation of PQconninfoParse(). First, "Returns parsed connection options from the provided connection string." Its false. The returned array contains all options, rather than which only parsed from the provided connection string. This fact must be specified in t