Re: pg_hba_file_settings view patch
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>,
Haribabu Kommi <kommi.haribabu@gmail.com>,
Michael Paquier <michael.paquier@gmail.com>,
Simon Riggs <simon@2ndquadrant.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-10-26T19:24:53Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > FWIW, I'm -1 on using JSON here. I don't believe that we should start > using JSON all over the place just because we can. If we do that, > we'll end up with a mishmash of styles, and maybe look silly when JSON > is replaced by the new and much better SDGJHSDR format. I concur. JSON isn't a core datatype and I don't want to see it treated as one. We should redesign this view so that it doesn't rely on anything more advanced than arrays. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Invent pg_hba_file_rules view to show the content of pg_hba.conf.
- de16ab723888 10.0 landed
-
Restructure hba.c to replace 3 parallel lists with single list of structs.
- 350cb921ae2c 10.0 landed