Q: pg_hba.conf separate database names file format

Поиск
Список
Период
Сортировка
От Albrecht Dreß
Тема Q: pg_hba.conf separate database names file format
Дата
Msg-id NXFJVAUX.C35JFJNY.4IYT4D2Y@I56PTRRI.6PUFY6O7.54SL26VD
обсуждение исходный текст
Ответы Re: Q: pg_hba.conf separate database names file format  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-general
Hi,

according to the docs, the database specification in the pg_hba.conf file can be read from a separate file
(<https://www.postgresql.org/docs/current/auth-pg-hba-conf.html>:“A separate file containing database names can be
specifiedby preceding the file name with @.”) 

However, I could not find a specification of the format for this file…  It appears as if simply giving each database
nameon a separate line does the job.  Is this correct?  May the file contain comments (i.e. lines starting with “#”) or
emptylines?  May the file be specified including a path (e.g. “@/some/path/databases”)? 

IMHO, it might be helpful if this information would be added to the docs.

Thanks, Albrecht.
Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: Feature suggestions for backup and replication
Следующее
От: Imre Samu
Дата:
Сообщение: Re: Information to CVE-2022-42889