forked from ungleich-public/cdist
[type/__postgres_conf] Silence psql output
This commit is contained in:
parent
3f605c31ac
commit
4967c7ebbb
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ in
|
||||||
|
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
exec 3< "\${__object:?}/parameter/value"
|
exec 3< "\${__object:?}/parameter/value"
|
||||||
$(psql_cmd postgres -tAw -v ON_ERROR_STOP=on) <<'SQL'
|
$(psql_cmd postgres -tAwq -o /dev/null -v ON_ERROR_STOP=on) <<'SQL'
|
||||||
\\set conf_value \`cat <&3\`
|
\\set conf_value \`cat <&3\`
|
||||||
ALTER SYSTEM SET ${conf_name} = :'conf_value';
|
ALTER SYSTEM SET ${conf_name} = :'conf_value';
|
||||||
SELECT pg_reload_conf();
|
SELECT pg_reload_conf();
|
||||||
|
|
Loading…
Reference in a new issue