services: postgresql: Define a default value.
authorMathieu Othacehe <othacehe@gnu.org>
Mon, 22 Feb 2021 14:40:30 +0000 (15:40 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Mon, 22 Feb 2021 15:24:34 +0000 (16:24 +0100)
* gnu/services/databases.scm (postgresql-service-type): Define a default value.

gnu/services/databases.scm

index d908b86..91ce503 100644 (file)
@@ -331,7 +331,9 @@ host        all     all     ::1/128         md5"))
                              (const %postgresql-accounts))
           (service-extension
            profile-service-type
-           (compose list postgresql-configuration-postgresql))))))
+           (compose list postgresql-configuration-postgresql))))
+   (default-value (postgresql-configuration
+                   (postgresql postgresql-10)))))
 
 (define-deprecated (postgresql-service #:key (postgresql postgresql)
                                        (port 5432)