diff options
author | Joe Hermaszewski <git@monoid.al> | 2021-04-10 11:12:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-10 11:12:36 +0800 |
commit | 580d88efa0b0591d370f8204f462d2c40f84eb22 (patch) | |
tree | dab92ce09a7ef0e396aee66f5f819dbbedc9d864 /nixos/modules/services/databases/postgresql.nix | |
parent | 6d5dc3f0e421b94c6c774fc7726b3e6d89f92224 (diff) |
services.postgresql: Improve example clarity
Although the quotes here aren't necessary, they may be if a user cargo-cults this example with a database name with hyphens (or other "unusual" characters).
Diffstat (limited to 'nixos/modules/services/databases/postgresql.nix')
-rw-r--r-- | nixos/modules/services/databases/postgresql.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index 900185fbbdf79..ee8cdf2d285fc 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -163,7 +163,7 @@ in ''; example = literalExample '' { - "DATABASE nextcloud" = "ALL PRIVILEGES"; + "DATABASE \"nextcloud\"" = "ALL PRIVILEGES"; "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES"; } ''; |