Search Postgresql Archives

Multiple central connection service files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux