[type/__postgres_conf] Catch invalid values
This commit is contained in:
parent
891c98567e
commit
5051d4f40b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue