···2323 Support is planned until the end of October 2020, handing over to 20.09.
2424 </para>
2525 </listitem>
2626+ <listitem>
2727+ <para>
2828+ Postgresql for NixOS service now defaults to v11.
2929+ </para>
3030+ </listitem>
2631 </itemizedlist>
2732 </section>
2833
+2-1
nixos/modules/services/databases/postgresql.nix
···226226 # Note: when changing the default, make it conditional on
227227 # ‘system.stateVersion’ to maintain compatibility with existing
228228 # systems!
229229- mkDefault (if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
229229+ mkDefault (if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11
230230+ else if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
230231 else if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql_9_5
231232 else throw "postgresql_9_4 was removed, please upgrade your postgresql version.");
232233