diff --git a/doc/languages-frameworks/beam.section.md b/doc/languages-frameworks/beam.section.md index 43b9034fed78..23459e731ca0 100644 --- a/doc/languages-frameworks/beam.section.md +++ b/doc/languages-frameworks/beam.section.md @@ -380,7 +380,7 @@ let git beamPackages.elixir nodejs - postgresql_14 + postgresql_18 # formatting js file prettier ]; diff --git a/nixos/doc/manual/administration/declarative-containers.section.md b/nixos/doc/manual/administration/declarative-containers.section.md index 9aeb4beeafbf..9b301d8cda0d 100644 --- a/nixos/doc/manual/administration/declarative-containers.section.md +++ b/nixos/doc/manual/administration/declarative-containers.section.md @@ -11,7 +11,7 @@ shall be a container named `database` running PostgreSQL: { config, pkgs, ... }: { services.postgresql.enable = true; - services.postgresql.package = pkgs.postgresql_14; + services.postgresql.package = pkgs.postgresql_18; }; }; } diff --git a/nixos/doc/manual/configuration/config-file.section.md b/nixos/doc/manual/configuration/config-file.section.md index f09e7c0f03f1..15e263516995 100644 --- a/nixos/doc/manual/configuration/config-file.section.md +++ b/nixos/doc/manual/configuration/config-file.section.md @@ -184,7 +184,7 @@ Packages pkgs.emacs ]; - services.postgresql.package = pkgs.postgresql_14; + services.postgresql.package = pkgs.postgresql_18; } ``` diff --git a/nixos/modules/services/cluster/patroni/default.nix b/nixos/modules/services/cluster/patroni/default.nix index 3b3e5d03a35b..ce3a83f93b7f 100644 --- a/nixos/modules/services/cluster/patroni/default.nix +++ b/nixos/modules/services/cluster/patroni/default.nix @@ -29,10 +29,10 @@ in postgresqlPackage = lib.mkOption { type = lib.types.package; - example = lib.literalExpression "pkgs.postgresql_14"; + example = lib.literalExpression "pkgs.postgresql_18"; description = '' PostgreSQL package to use. - Plugins can be enabled like this `pkgs.postgresql_14.withPackages (p: [ p.pg_safeupdate p.postgis ])`. + Plugins can be enabled like this `pkgs.postgresql_18.withPackages (p: [ p.pg_safeupdate p.postgis ])`. ''; }; diff --git a/nixos/modules/virtualisation/nixos-containers.nix b/nixos/modules/virtualisation/nixos-containers.nix index a4e14288fbde..38ad97bba12e 100644 --- a/nixos/modules/virtualisation/nixos-containers.nix +++ b/nixos/modules/virtualisation/nixos-containers.nix @@ -970,7 +970,7 @@ in { config = { config, pkgs, ... }: { services.postgresql.enable = true; - services.postgresql.package = pkgs.postgresql_14; + services.postgresql.package = pkgs.postgresql_18; system.stateVersion = "${lib.trivial.release}"; };