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

From Phil Sorber
Subject [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
Date
Msg-id CADAkt-gJXGVkd1gRSyyJjS2mAbt7zWcJ1Tv1oh1eNXr0Rg1p8A@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: Phil Sorber
Date:
Subject: Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
Next
From: Peter Eisentraut
Date:
Subject: Re: PL/Python result object str handler