Merge pull request #119389 from marsam/drop-postgresql_9_5

postgresql_9_5: drop
This commit is contained in:
Jörg Thalheim 2021-04-16 19:29:21 +01:00 committed by GitHub
commit 0854659567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 13 deletions

View File

@ -955,6 +955,11 @@ environment.systemPackages = [
<link linkend="opt-boot.extraSystemdUnitPaths">boot.extraSystemdUnitPaths</link> list.
</para>
</listitem>
<listitem>
<para>
PostgreSQL 9.5 is scheduled EOL during the 21.05 life cycle and has been removed.
</para>
</listitem>
</itemizedlist>
</section>
</section>

View File

@ -295,8 +295,7 @@ in
# systems!
mkDefault (if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11
else if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
else if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql_9_5
else throw "postgresql_9_4 was removed, please upgrade your postgresql version.");
else throw "postgresql_9_5 was removed, please upgrade your postgresql version.");
services.postgresql.dataDir = mkDefault "/var/lib/postgresql/${cfg.package.psqlSchema}";

View File

@ -191,15 +191,6 @@ let
in self: {
postgresql_9_5 = self.callPackage generic {
version = "9.5.25";
psqlSchema = "9.5";
sha256 = "00yny0sskxrqk4ji2phgv3iqxd1aiy6rh660k73s4s1pn9gcaa3n";
this = self.postgresql_9_5;
thisAttr = "postgresql_9_5";
inherit self;
};
postgresql_9_6 = self.callPackage generic {
version = "9.6.21";
psqlSchema = "9.6";

View File

@ -553,7 +553,6 @@ mapAliases ({
pmtools = acpica-tools; # added 2018-11-01
polarssl = mbedtls; # added 2018-04-25
poppler_qt5 = libsForQt5.poppler; # added 2015-12-19
postgresql95 = postgresql_9_5;
postgresql96 = postgresql_9_6;
postgresql100 = throw "postgresql100 was deprecated on 2018-10-21: use postgresql_10 instead";
# postgresql plugins

View File

@ -18968,7 +18968,6 @@ in
timescaledb-tune = callPackage ../development/tools/database/timescaledb-tune { };
inherit (import ../servers/sql/postgresql pkgs)
postgresql_9_5
postgresql_9_6
postgresql_10
postgresql_11