diff --git a/nixos/modules/services/databases/postgresql.md b/nixos/modules/services/databases/postgresql.md index 7ff4df971915..d90c503eeab7 100644 --- a/nixos/modules/services/databases/postgresql.md +++ b/nixos/modules/services/databases/postgresql.md @@ -173,7 +173,7 @@ These instructions are also applicable to other versions. Major PostgreSQL upgrades require a downtime and a few imperative steps to be called. This is the case because each major version has some internal changes in the databases' state. Because of that, -NixOS places the state into {file}`/var/lib/postgresql/` where each `version` +NixOS places the state into {file}`/var/lib/postgresql/$psqlSchema` where `$psqlSchema` can be obtained like this: ``` $ nix-instantiate --eval -A postgresql_15.psqlSchema