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

From Alvaro Herrera
Subject Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
Date
Msg-id 20130204141325.GA4963@alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq  (Phil Sorber <phil@omniti.com>)
Responses Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
List pgsql-hackers
> > 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.

Uh, no existing code can use this new functionality?  That seems
disappointing.


--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Ali Dar
Date:
Subject: Re: missing rename support
Next
From: Merlin Moncure
Date:
Subject: Re: json api WIP patch