+1
-1
nixos/doc/manual/release-notes/rl-2511.section.md
+1
-1
nixos/doc/manual/release-notes/rl-2511.section.md
···- The `yeahwm` package and `services.xserver.windowManager.yeahwm` module were removed due to the package being broken and unmaintained upstream.-- The `services.postgresql` module now sets up a systemd unit `postgresql.target`. Depending on `postgresql.target` guarantees that initial/ensure scripts were executed.+- The `services.postgresql` module now sets up a systemd unit `postgresql.target`. Depending on `postgresql.target` guarantees that postgres is in read-write mode and initial/ensure scripts were executed. Depending on `postgresql.service` only guarantees a read-only connection.- The `services.siproxd` module has been removed as `siproxd` is unmaintained and broken with libosip 5.x.
+8
nixos/modules/services/databases/postgresql.md
+8
nixos/modules/services/databases/postgresql.md
···#### in intermediate oneshot service {#module-services-postgres-initializing-extra-permissions-superuser-oneshot}+- `postgresql.target` includes `postgresql-setup`, so users managed via `ensureUsers` are already created.+- `postgresql.target` will wait until PostgreSQL is in read-write mode after restoring from backup, while `postgresql.service` will already be ready when PostgreSQL is still recovering in read-only mode.+Both can lead to unexpected errors either during initial database creation or restore, when using `postgresql.service`.
+9
-1
nixos/modules/services/databases/postgresql.nix
+9
-1
nixos/modules/services/databases/postgresql.nix
···
+8
-1
nixos/tests/pgbackrest/posix.nix
+8
-1
nixos/tests/pgbackrest/posix.nix
······