Re: [PATCH] Add inline comments to the pg_hba_file_rules view
От | David Zhang |
---|---|
Тема | Re: [PATCH] Add inline comments to the pg_hba_file_rules view |
Дата | |
Msg-id | dcd7925f-b141-c9a8-444d-74446cf6d943@highgo.ca обсуждение исходный текст |
Ответ на | [PATCH] Add inline comments to the pg_hba_file_rules view (Jim Jones <jim.jones@uni-muenster.de>) |
Ответы |
Re: [PATCH] Add inline comments to the pg_hba_file_rules view
|
Список | pgsql-hackers |
This is a very useful feature. I applied the patch to the master branch, and both make check and make check-world passed without any issues. Just one comment here, based on the example below, > host db jim 127.0.0.1/32 md5 # #foo# > > ... it returns the following pg_hba_file_rules records: > > postgres=# SELECT type, database, user_name, address, comment > FROM pg_hba_file_rules > WHERE user_name[1]='jim'; > > type | database | user_name | address | comment > ------+----------+-----------+-----------+--------- > host | {db} | {jim} | 127.0.0.1 | #foo# Since "only the first #" and "any leading spaces" are removed, IMO, it can be more accurate to say, Text after the first <literal>#</literal> comment character in the end of a valid <literal>pg_hba.conf</literal> entry, if any Best regards, David
В списке pgsql-hackers по дате отправления: