Re: Another review of URI for libpq, v7 submission
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Alex <ash@commandprompt.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-04-06T06:09:10Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Refactor to eliminate duplicate copies of conninfo default-finding code.
- e9ce658b6203 9.2.0 cited
On fre, 2012-04-06 at 00:25 -0300, Alvaro Herrera wrote: > Some moments of radical thinking later, I became unhappy with the fact > that the conninfo stuff and parameter keywords are all crammed in the > PQconnectdbParams description. This feels wrong to me, even more so > after we expand it even more to add URIs to the mix. I think it's > better to create a separate sect1 (which I've entitled "Connection > Strings") which explains the conninfo and URI formats as well as > accepted keywords. The new section is referenced from the multiple > places that need it, without having to point to PQconnectdbParams. Yes, it should be split out. But the libpq chapter already has too many tiny sect1s. I think it should be a sect2 under "Database Connection Control".