From b4060720dc3c7cc58aa992285877e4c009caa6be Mon Sep 17 00:00:00 2001 From: Beni Ruef Date: Fri, 11 Dec 2020 11:12:16 +0100 Subject: [PATCH] [type/__postgres_conf] Fix psql options for ALTER command --- cdist/conf/type/__postgres_conf/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__postgres_conf/gencode-remote b/cdist/conf/type/__postgres_conf/gencode-remote index 8ccb3b42..7d86028e 100755 --- a/cdist/conf/type/__postgres_conf/gencode-remote +++ b/cdist/conf/type/__postgres_conf/gencode-remote @@ -67,7 +67,7 @@ in # needs two separate psql commands because ALTER SYSTEM # cannot run inside a transaction block cat <<-EOF - su - ${postgres_user} -c "psql postgres -twAc \ + su - ${postgres_user} -c "psql postgres -qwc \ \"${set_command}\"" su - ${postgres_user} -c "psql postgres -twAc \ \"SELECT pg_reload_conf()\""