psql -c 'alter system set random_page_cost = 1.5' -c 'select pg_reload_conf()'
Bonus: they run in the same session, so you can even use vars.
#postgres #postgresql
psql -c 'alter system set random_page_cost = 1.5' -c 'select pg_reload_conf()'
Bonus: they run in the same session, so you can even use vars.
#postgres #postgresql