[type/__postgres_conf] Catch invalid values

This commit is contained in:
Dennis Camera 2021-01-19 16:36:44 +01:00
parent 891c98567e
commit 5051d4f40b
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ in
cat <<-EOF
exec 3< "\${__object:?}/parameter/value"
$(psql_cmd postgres -tAw) <<'SQL'
$(psql_cmd postgres -tAw -v ON_ERROR_STOP=on) <<'SQL'
\\set conf_value \`cat <&3\`
ALTER SYSTEM SET ${conf_name} = :'conf_value';
SELECT pg_reload_conf();