summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-20 10:38:37 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-21 16:16:37 +0200
commite45306c1982aee194243cf661295c7ca776d879f (patch)
tree9255757114ceab7c23afe21b259afdeaf4452872 /gnu/services
parent1fa038324db0c7f848b5640f81465366c2a587ba (diff)
downloadguix-e45306c1982aee194243cf661295c7ca776d879f.tar.gz
services: postgresql: Add default package.
* gnu/services/databases.scm (<postgresql-configuration>)[postgresql]:
Add default value, moved from...
(postgresql-service-type)[default-value]: ... here.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/databases.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 0cbd83254b..e8e42d3b7b 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -167,7 +167,8 @@ host	all	all	::1/128 	md5"))
 (define-record-type* <postgresql-configuration>
   postgresql-configuration make-postgresql-configuration
   postgresql-configuration?
-  (postgresql         postgresql-configuration-postgresql) ;file-like
+  (postgresql         postgresql-configuration-postgresql ;file-like
+                      (default postgresql-10))
   (port               postgresql-configuration-port
                       (default 5432))
   (locale             postgresql-configuration-locale
@@ -330,8 +331,7 @@ host	all	all	::1/128 	md5"))
           (service-extension
            profile-service-type
            (compose list postgresql-configuration-postgresql))))
-   (default-value (postgresql-configuration
-                   (postgresql postgresql-10)))
+   (default-value (postgresql-configuration))
    (description "Run the PostgreSQL database server.")))
 
 (define-deprecated (postgresql-service #:key (postgresql postgresql)