summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-02-22 15:40:30 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-02-22 16:24:34 +0100
commit8163f74542300720f6ee5dc061b79ddf0c345bb8 (patch)
tree26f1c41f10e955fd37b547ddca97113c69d14861 /gnu
parent3bcfd41620bfe87903d54c73a100208922445f1b (diff)
services: postgresql: Define a default value.
* gnu/services/databases.scm (postgresql-service-type): Define a default value.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/databases.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index d908b86af8..91ce503e82 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -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)