@@ -167,8 +167,12 @@ (define contents
(define-record-type* <postgresql-configuration>
postgresql-configuration make-postgresql-configuration
postgresql-configuration?
+ ;; Setting it to '*no* ensures that the user sets its current postgresql
+ ;; explicitely. Since major upgrades currently require a manual migration
+ ;; of the database, this way the user is responsible for upgrading properly.
+ ;; MAYBE TODO: Write an action to automatically upgrade in Guix.
(postgresql postgresql-configuration-postgresql ;file-like
- (default postgresql))
+ (default '*no*))
(port postgresql-configuration-port
(default 5432))
(locale postgresql-configuration-locale
@@ -346,7 +350,7 @@ (define postgresql-service-type
(default-value (postgresql-configuration))
(description "Run the PostgreSQL database server.")))
-(define-deprecated (postgresql-service #:key (postgresql postgresql)
+(define-deprecated (postgresql-service #:key (postgresql postgresql-10)
(port 5432)
(locale "en_US.utf8")
(config-file (postgresql-config-file))