Re: pg_hba_file_settings view patch
От | Christoph Berg |
---|---|
Тема | Re: pg_hba_file_settings view patch |
Дата | |
Msg-id | 20160904114602.xckb57htmjntlauc@msg.df7cb.de обсуждение исходный текст |
Ответ на | Re: pg_hba_file_settings view patch (Simon Riggs <simon@2ndquadrant.com>) |
Список | 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
В списке pgsql-hackers по дате отправления: