services: postgresql: Add default package.
* gnu/services/databases.scm (<postgresql-configuration>)[postgresql]: Add default value, moved from... (postgresql-service-type)[default-value]: ... here.master
parent
1fa038324d
commit
e45306c198
|
@ -167,7 +167,8 @@ host all all ::1/128 md5"))
|
||||||
(define-record-type* <postgresql-configuration>
|
(define-record-type* <postgresql-configuration>
|
||||||
postgresql-configuration make-postgresql-configuration
|
postgresql-configuration make-postgresql-configuration
|
||||||
postgresql-configuration?
|
postgresql-configuration?
|
||||||
(postgresql postgresql-configuration-postgresql) ;file-like
|
(postgresql postgresql-configuration-postgresql ;file-like
|
||||||
|
(default postgresql-10))
|
||||||
(port postgresql-configuration-port
|
(port postgresql-configuration-port
|
||||||
(default 5432))
|
(default 5432))
|
||||||
(locale postgresql-configuration-locale
|
(locale postgresql-configuration-locale
|
||||||
|
@ -330,8 +331,7 @@ host all all ::1/128 md5"))
|
||||||
(service-extension
|
(service-extension
|
||||||
profile-service-type
|
profile-service-type
|
||||||
(compose list postgresql-configuration-postgresql))))
|
(compose list postgresql-configuration-postgresql))))
|
||||||
(default-value (postgresql-configuration
|
(default-value (postgresql-configuration))
|
||||||
(postgresql postgresql-10)))
|
|
||||||
(description "Run the PostgreSQL database server.")))
|
(description "Run the PostgreSQL database server.")))
|
||||||
|
|
||||||
(define-deprecated (postgresql-service #:key (postgresql postgresql)
|
(define-deprecated (postgresql-service #:key (postgresql postgresql)
|
||||||
|
|
Reference in New Issue