Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq - Mailing list pgsql-hackers

From Phil Sorber
Subject Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
Date
Msg-id CADAkt-jOHrWBR1YV3GoPNXJgGOyDC7e6_2k9Ho=9hgo3MWnCLg@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Sun, Feb 3, 2013 at 1:37 AM, Magnus Hagander <magnus@hagander.net> wrote:
>
> On Feb 3, 2013 4:16 AM, "Phil Sorber" <phil@omniti.com> wrote:
>>
>> This patch came up from discussion about pg_isready.
>>
>> PQconninfoParseParams is similar to PQconninfoParse but takes two
>> arrays like PQconnectdbParams. It essentially exposes
>> conninfo_array_parse().
>>
>> PQconninfodefaultsMerge essentially exposes conninfo_add_defaults().
>> It allows you to pass a PQconninfoOption struct and it adds defaults
>> for all NULL values.
>>
>> There are no docs yet. I assumed I would let bikeshedding ensue, and
>> also debate on whether we even want these first.
>
> I think you forgot to attach the patch.
>
> /Magnus

/me hangs head in shame :-(

Here is is...

Attachment

pgsql-hackers by date:

Previous
From: Amit kapila
Date:
Subject: Re: Suggestion: Issue warning when calling SET TRANSACTION outside transaction block
Next
From: Dean Rasheed
Date:
Subject: Re: missing rename support