Multiple central connection service files

Поиск
Список
Период
Сортировка
От Curt Tilmes
Тема Multiple central connection service files
Дата
Msg-id CAMv20O8oJ1Wk4QZA=T0NW7wEkRAvuH6Fa=JaZgF5LdjpT1qSug@mail.gmail.com
обсуждение исходный текст
Ответы Re: Multiple central connection service files  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Moving database config descriptions into $PGSYSCONFDIR/pg_service.conf is great,
but for a large enterprise, we may have a bunch that are managed independently, it would be nice to have multiple of such files.

The convention that many utilities that use such a config file have adopted is allowing an additional
directory where more config sections are found, e.g.
$PGSYSCONFDIR/pg_service.conf.d/*

This would be in addition to pg_service.conf itself.

Optimal would be for it to silently ignore files which the user didn't have read permission, checking for the requested service only in readable files.

This would also make it a lot easier for me to map specific database service connection information into containers without putting everything all in one big file.

Another option, not nearly as useful as the other (but still better than a single file), would be to allow multiple files to be listed in $PGSERVICEFILE,

Best possible world would allow both.

What do you think?

Curt

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

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Updating a pre-10 partitioned table to use PG 10 partitioning
Следующее
От: Dylan Luong
Дата:
Сообщение: Missing WAL file after running pg_rewind