summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMiguel Moreno <mmoreno@mmoreno.eu>2023-03-27 19:30:45 +0200
committerLudovic Courtès <ludo@gnu.org>2023-08-11 00:50:48 +0200
commit71aba798d3d586a42afe8a61e8e36b95ca41bc37 (patch)
tree2cdebcb470b55e3df24212d814977e2bffc3ffce /doc
parentcaa30ff2f13a149810e564ab9b1737e057345032 (diff)
services: postgresql: Add more role fields.
* gnu/services/databases.scm (postgresql-role): Add more role fields. (postgresql-create-roles): Honor it. * doc/guix.texi (Database Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 71f9f29169..409ca2ad62 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -25258,7 +25258,21 @@ The role permissions list. Supported permissions are @code{bypassrls},
@code{superuser}.
@item @code{create-database?} (default: @code{#f})
-Whether to create a database with the same name as the role.
+whether to create a database with the same name as the role.
+
+@item @code{encoding} (default: @code{"UTF8"})
+The character set to use for storing text in the database.
+
+@item @code{collation} (default: @code{"en_US.utf8"})
+The string sort order locale setting.
+
+@item @code{ctype} (default: @code{"en_US.utf8"})
+The character classification locale setting.
+
+@item @code{template} (default: @code{"template1"})
+The default template to copy the new database from when creating it.
+Use @code{"template0"} for a pristine database with no system-local
+modifications.
@end table
@end deftp