aboutsummaryrefslogtreecommitdiff
path: root/etc/brep-module.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/brep-module.conf')
-rw-r--r--etc/brep-module.conf16
1 files changed, 12 insertions, 4 deletions
diff --git a/etc/brep-module.conf b/etc/brep-module.conf
index dd8f048..ecac553 100644
--- a/etc/brep-module.conf
+++ b/etc/brep-module.conf
@@ -46,11 +46,15 @@ menu About=?about
# The package database connection configuration. By default, brep will try to
-# connect to the local instance of PostgreSQL with the operating system-default
-# mechanism (Unix-domain socket, etc) and use operating system (login) user
-# name and the database called 'brep_package'. See brep(1) for details.
+# connect to the local instance of PostgreSQL with the operating system-
+# default mechanism (Unix-domain socket, etc) and use operating system
+# (login) user name and the database called 'brep_package'. If the role name
+# is not empty then the login user will be switched (with SET ROLE) to this
+# user prior to executing any statements. If not specified, then 'brep' is
+# used. See brep(1) for details.
#
# package-db-user
+# package-db-role brep
# package-db-password
# package-db-name brep_package
# package-db-host
@@ -137,9 +141,13 @@ menu About=?about
# The build database connection configuration. By default, brep will try to
# connect to the local instance of PostgreSQL with the operating system-default
# mechanism (Unix-domain socket, etc) and use operating system (login) user
-# name and the database called 'brep_build'. See brep(1) for details.
+# name and the database called 'brep_build'. If the role name is not empty
+# then the login user will be switched (with SET ROLE) to this user prior
+# to executing any statements. If not specified, then 'brep' is used. See
+# brep(1) for details.
#
# build-db-user
+# build-db-role brep
# build-db-password
# build-db-name brep_build
# build-db-host