postgresql_9_5: drop

PostgreSQL 9.5 has reached EOL on February 11, 2021.
See https://www.postgresql.org/support/versioning/
This commit is contained in:
Mario Rodas 2021-04-01 04:20:00 +00:00
parent 55ac7d4580
commit 72ab382fb6
5 changed files with 6 additions and 13 deletions

View File

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

View File

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

View File

@ -191,15 +191,6 @@ let
in self: { 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 { postgresql_9_6 = self.callPackage generic {
version = "9.6.21"; version = "9.6.21";
psqlSchema = "9.6"; psqlSchema = "9.6";

View File

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

View File

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