mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
Merge pull request #119389 from marsam/drop-postgresql_9_5
postgresql_9_5: drop
This commit is contained in:
commit
0854659567
|
@ -955,6 +955,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>
|
||||||
|
|
|
@ -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}";
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -553,7 +553,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
|
||||||
|
|
|
@ -18968,7 +18968,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
|
||||||
|
|
Loading…
Reference in a new issue