doc: Define postgresql-service-type as a variable.

Using defvar for service types causes them to be part of the index, which is
useful for discoverability.

* doc/guix.texi (Database Services) <postgresql-service-type>: Define with
defvar.

Change-Id: If1c920ad275a9386ec7bb9e48e9a132df98dee97
This commit is contained in:
Maxim Cournoyer 2024-01-26 14:37:17 -05:00
parent 8ae8b9804f
commit 2b0f475809
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 4 additions and 0 deletions

View File

@ -25798,6 +25798,9 @@ The @code{(gnu services databases)} module provides the following services.
@subsubheading PostgreSQL
@defvar postgresql-service-type
The service type for the PostgreSQL database server. Its value should
be a valid @code{postgresql-configuration} object, documented below.
The following example describes a PostgreSQL service with the default
configuration.
@ -25824,6 +25827,7 @@ sudo -u postgres -s /bin/sh
createuser --interactive
createdb $MY_USER_LOGIN # Replace appropriately.
@end example
@end defvar
@deftp {Data Type} postgresql-configuration
Data type representing the configuration for the