~ruther/guix-local

e45306c1982aee194243cf661295c7ca776d879f — Ludovic Courtès 3 years ago 1fa0383
services: postgresql: Add default package.

* gnu/services/databases.scm (<postgresql-configuration>)[postgresql]:
Add default value, moved from...
(postgresql-service-type)[default-value]: ... here.
1 files changed, 3 insertions(+), 3 deletions(-)

M gnu/services/databases.scm
M gnu/services/databases.scm => gnu/services/databases.scm +3 -3
@@ 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)