Обсуждение: reloading config files pg_ctl reload

Поиск
Список
Период
Сортировка

reloading config files pg_ctl reload

От
"Rajesh Kumar Mallah"
Дата:
Hi,

Will it be a good feature to have pg_ctl check the syntaxes of
the config files before sending a SIGHUP to postmaster ?

Suppose a DBA does somes typos in the files, he shall be confused
not to see the changes in server even after pg_ctl reload .

Regds
mallah.

Re: reloading config files pg_ctl reload

От
Jim Nasby
Дата:
On Dec 9, 2006, at 6:39 AM, Rajesh Kumar Mallah wrote:
> Will it be a good feature to have pg_ctl check the syntaxes of
> the config files before sending a SIGHUP to postmaster ?
>
> Suppose a DBA does somes typos in the files, he shall be confused
> not to see the changes in server even after pg_ctl reload .

While I agree it would be a useful feature, I doubt you'll find much
interest from existing developers to add this. I suspect a patch
would be accepted, though... just make sure and ask on pgsql-hackers
before you start coding one. :)
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)