mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
postgresql: Make 9.2 the default
PostgreSQL 8.3 is end-of-life so it shouldn't be our default anymore. The problem with changing the default PostgreSQL is that it breaks NixOS installations that have PostgreSQL enabled without specifying an explicit PostgreSQL version, because PostgreSQL does not do automatic schema migration if the major version changes. Thus, it's always a good idea to specify the desired major version explicitly: services.postgresql.package = pkgs.postgresql92; (In fact, maybe we should remove the default value for services.postgresql.package.)
This commit is contained in:
parent
e31ffe6fb0
commit
22d4472d27
@ -5537,7 +5537,7 @@ let
|
||||
|
||||
OVMF = callPackage ../applications/virtualization/OVMF { };
|
||||
|
||||
postgresql = postgresql83;
|
||||
postgresql = postgresql92;
|
||||
|
||||
postgresql83 = callPackage ../servers/sql/postgresql/8.3.x.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user