about summary refs log tree commit diff
path: root/nixos/modules/services/backup/postgresql-wal-receiver.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-10-29 17:57:22 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2023-10-30 10:41:16 +0100
commit1220a4d4dd1a4590780a5e1c18d1333a121be366 (patch)
treed85e7bfd778eefadeeabc3066416cbcd2d2a4579 /nixos/modules/services/backup/postgresql-wal-receiver.nix
parentf5458516e42cc5cb4123cc2d93f45c240548aa18 (diff)
postgresql_11: remove
As described in the release lifecycle docs from postgresql[1], v11 will
stop receiving fixes as of Nov 9 2023. This means it's EOL throughout
the entire lifetime of 23.11, so let's drop it now.

A lot of examples are also referencing postgresql_11. Where it's
sensible, use postgresql_15 as example now to avoid confusion.

This is also handy because the LLVM 16 fix for postgresql is not
available for postgresql 11 ;-)

[1] https://www.postgresql.org/support/versioning/
Diffstat (limited to 'nixos/modules/services/backup/postgresql-wal-receiver.nix')
-rw-r--r--nixos/modules/services/backup/postgresql-wal-receiver.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/backup/postgresql-wal-receiver.nix b/nixos/modules/services/backup/postgresql-wal-receiver.nix
index 01fd57f5c5062..773dc0ba447dd 100644
--- a/nixos/modules/services/backup/postgresql-wal-receiver.nix
+++ b/nixos/modules/services/backup/postgresql-wal-receiver.nix
@@ -7,7 +7,7 @@ let
     options = {
       postgresqlPackage = mkOption {
         type = types.package;
-        example = literalExpression "pkgs.postgresql_11";
+        example = literalExpression "pkgs.postgresql_15";
         description = lib.mdDoc ''
           PostgreSQL package to use.
         '';
@@ -124,7 +124,7 @@ in {
         example = literalExpression ''
           {
             main = {
-              postgresqlPackage = pkgs.postgresql_11;
+              postgresqlPackage = pkgs.postgresql_15;
               directory = /mnt/pg_wal/main/;
               slot = "main_wal_receiver";
               connection = "postgresql://user@somehost";