services: postgresql: Provide postgresql commands.

* gnu/services/databases.scm (postgresql-service-type): Extend
profile-service-type to provide postgresql commands.
This commit is contained in:
Pierre Neidhardt 2020-07-28 13:55:28 +02:00
parent dec43e9f88
commit 3bf4761e39
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F

@ -276,7 +276,9 @@ host all all ::1/128 md5"))
(service-extension activation-service-type
postgresql-activation)
(service-extension account-service-type
(const %postgresql-accounts))))
(const %postgresql-accounts))
(service-extension profile-service-type
(compose list postgresql-configuration-postgresql))))
(default-value (postgresql-configuration))))
(define* (postgresql-service #:key (postgresql postgresql)