Re: pg_hba_file_settings view patch
Christoph Berg <myon@debian.org>
From: Christoph Berg <myon@debian.org>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-09-04T11:46:03Z
Lists: pgsql-hackers
Re: Simon Riggs 2016-09-03 <CANP8+jLFDeCJ7YWuzSodKXD85oNy2Kxa40U5GRnry6ms9Mz+5A@mail.gmail.com> > pg_hba_file_settings seems a clumsy name. I'd prefer pg_hba_settings, > since that name could live longer than the concept of pg_hba.conf, > which seems likely to become part of ALTER SYSTEM in future, so we > wouldn't really want the word "file" in there. IMHO "settings" is wrong here. "pg_file_settings" means "settings in config file (that might not been applied yet)". The contents of pg_hba.conf are not config settings, but there doesn't appear to be a standard name for them - 19.1 calls them "records". Given that the patch seems to report what's on disk, "pg_hba_file" seems a good name to me. Even if ALTER SYSTEM should become able to update the file, it'd still be a file. (If it were the actual running config, I'd go for "pg_hba_rules".) Christoph
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