Re: PQconninfo function for libpq
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Boszormenyi Zoltan <zb@cybertec.at>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-11-23T12:05:45Z
Lists: pgsql-hackers
Attachments
- PQconninfo-mha-2.patch (application/octet-stream) patch
On Fri, Nov 23, 2012 at 6:30 AM, Fujii Masao <masao.fujii@gmail.com> wrote: > On Thu, Nov 22, 2012 at 10:05 PM, Boszormenyi Zoltan <zb@cybertec.at> wrote: >> 2012-11-22 12:44 keltezéssel, Magnus Hagander írta: >>>>>>>> Also, a question was buried in the other review which is - are we OK >>>>>>>> to remove the requiressl parameter. Both these patches do so, because >>>>>>>> the code becomes much simpler if we can do that. It has been >>>>>>>> deprecated since 7.2. Is it OK to remove it, or do we need to put >>>>>>>> back >>>>>>>> in the more complex code to deal with both? >>>>>> >>>>>> Just going to highlight that we're looking for at least one third >>>>>> party to comment on this :) >>>>> >>>>> >>>>> Yes, me too. A +1 for removing wouldn't count from me. ;-) > > +1 Actually, with the cleaner code that resulted from the rewrite, reintroducing it turned out to be pretty darn simple - if I'm not missing something. PFA a patch that comes *with* requiressl=<n> support, without making the code that much more complex. It also fixes the fact that pg_service.conf was broken by the previous one. It also includes the small fixes from Zoltans latest round (the one that was for libpq, not the one for pg_receivexlog that turned out to be wrong). And a pgindent run :) -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
In psql, if the is no connection object, e.g. due to a server crash,
- fe21fcaf8d91 9.3.0 cited