aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-06-04 15:55:32 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-06-04 15:55:32 +0200
commit8493d6c7311c7637e5872506939a6ed27e43be59 (patch)
treeeb2f094365ef606303bbae3ee52f20a6fab85272 /modules
parent8c35e34924c2264444ed59fe5c273d70d071981f (diff)
downloadnixsap-8493d6c7311c7637e5872506939a6ed27e43be59.tar.gz
(* BREAKING *) PGSQL: password_encryption is enum
It is enum since Postgresql 10.
Diffstat (limited to 'modules')
-rw-r--r--modules/apps/postgresql/server.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apps/postgresql/server.nix b/modules/apps/postgresql/server.nix
index 30488db..a332704 100644
--- a/modules/apps/postgresql/server.nix
+++ b/modules/apps/postgresql/server.nix
@@ -150,7 +150,7 @@ in {
max_standby_streaming_delay = optional int;
max_wal_senders = optional int;
max_worker_processes = optional int;
- password_encryption = optional bool;
+ password_encryption = optional (enum [ "md5" "scram-sha-256" ]);
port = default 5432 int;
quote_all_identifiers = optional bool;
random_page_cost = optional float;