Re: Remotely reload server config?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Remotely reload server config?
Дата
Msg-id 200511031652.jA3Gqsg18638@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Remotely reload server config?  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-general
Florian G. Pflug wrote:
> Tony Caduto wrote:
> > Does anyone know if there is a way to reload the server config remotely
> > via a sql command?
> >
> > I looked through the docs, but may have missed it.
> AFAIK thats not possible with postgresql out-of-the-box.
>
> The latest pgadminIII release (1.4), however, includes some
> server-side funktions that allow remotely editing the config
> file, and also allow restarting the server i believe.
>
> You'd have to install those funktions into some database
> on your server.

PostgreSQL 8.1 RC1 has pg_reload_conf() which does what you want.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: brew@theMode.com
Дата:
Сообщение: Re: question about Postgresql and rsync
Следующее
От: SCassidy@overlandstorage.com
Дата:
Сообщение: Re: Changing ids conflicting with serial values?