summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-11-17 15:57:19 +0100
committerRaito Bezarius <masterancpp@gmail.com>2023-11-17 15:57:19 +0100
commit82037ad0b89db3d392c49c1fdbc6b325da5586b1 (patch)
tree3dd35fffb78aaaf112458c6040b754a063f92249
parent10baca4935656089dabca0f07e3ef89f1f954375 (diff)
downloadnixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.tar
nixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.tar.gz
nixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.tar.bz2
nixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.tar.lz
nixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.tar.xz
nixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.tar.zst
nixpkgs-82037ad0b89db3d392c49c1fdbc6b325da5586b1.zip
rl-2311: inform about `services.postgresql.ensurePermissions` deprecation
-rw-r--r--nixos/doc/manual/release-notes/rl-2311.section.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md
index d838d33e35d..722bcb6b908 100644
--- a/nixos/doc/manual/release-notes/rl-2311.section.md
+++ b/nixos/doc/manual/release-notes/rl-2311.section.md
@@ -141,6 +141,9 @@
 
 ## Backward Incompatibilities {#sec-release-23.11-incompatibilities}
 
+- `services.postgresql.ensurePermissions` has been deprecated in favor of `services.postgresql.ensureUsers.*.ensureDBOwnership` which simplifies the setup of database owned by a certain system user
+  in local database contexts (which make use of peer authentication via UNIX sockets), migration guidelines were provided in the NixOS manual, please refer to them if you are affected by a PostgreSQL 15 changing the way `GRANT ALL PRIVILEGES` is working. `services.postgresql.ensurePermissions` will be removed in 24.05. All NixOS modules were migrated using one of the strategy, e.g. `ensureDBOwnership` or `postStart`. More about this situation can be learnt in https://github.com/NixOS/nixpkgs/pull/266270.
+
 - `network-online.target` has been fixed to no longer time out for systems with `networking.useDHCP = true` and `networking.useNetworkd = true`.
   Workarounds for this can be removed.