aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-30 02:53:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-03 23:56:29 +0300
commit17d44ec2c41a5b485cecae51a07396f85a601248 (patch)
tree5b8f74f8176059c9ab8cbbc770e4b9ee75872f41 /etc
parentc2a0ae3e226d1cedceb2a7814c8adfbbfbd7afe1 (diff)
Fix builds page to correctly display unbuilt package count
Diffstat (limited to 'etc')
-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