pg_ctl reload -o "...."

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_ctl reload -o "...."
Date: 2012-11-15 18:19:08
Message-ID: CAMkU=1wdDMdav95jZ7U3nTx1OxOfHajvwmgNVaeQBCS=ANXLMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

If I want to change a parameter that affects an auxiliary process
(like bgwriter), I can usually get away with doing;

pg_ctl restart -o '--setting=new'

But sometimes I really need to avoid the restart, because it blows
away shared_buffers or for other reasons.

I can do pg_ctl reload, but that ignores the -o option (without
notice). So to go the reload route, I have to edit "postgresql.conf"
before doing the reload. This is quite tedious and error-prone,
especially in a script.

Is there a reason pg_ctl reload shouldn't honor -o ? Is there
reasonable avenue to get it do so?

Cheers,

Jeff

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2012-11-15 18:26:20 Re: Timing events WIP v1
Previous Message Robert Haas 2012-11-15 18:13:07 Re: tuplesort memory usage: grow_memtuples