summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-11-17 18:02:17 +0100
committerGitHub <noreply@github.com>2023-11-17 18:02:17 +0100
commitccfe07c3168109567b98462533f7ddf14c7ba18d (patch)
tree5519b30e969dfbacf48caa51505b3eb49213b290 /nixos/doc
parentbea932e00a092efe7be61f7bcbebf4a18241a07b (diff)
parent82037ad0b89db3d392c49c1fdbc6b325da5586b1 (diff)
downloadnixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.tar
nixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.tar.gz
nixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.tar.bz2
nixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.tar.lz
nixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.tar.xz
nixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.tar.zst
nixpkgs-ccfe07c3168109567b98462533f7ddf14c7ba18d.zip
Merge pull request #266270 from Ma27/postgresql-ownership-15
Diffstat (limited to 'nixos/doc')
-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 1dbc33f2373..e5e4e713ae2 100644
--- a/nixos/doc/manual/release-notes/rl-2311.section.md
+++ b/nixos/doc/manual/release-notes/rl-2311.section.md
@@ -145,6 +145,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.