Re: question on pg_ctl

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: question on pg_ctl
Дата
Msg-id dcc563d10809221121k2c3eb5dcpb4cbf823b08defc0@mail.gmail.com
обсуждение исходный текст
Ответ на question on pg_ctl  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin
On Mon, Sep 22, 2008 at 11:49 AM, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
> Hi Everybody,
>
> I want to change a line in postgresql.conf (shared_buffers)
> and then issue a command:
>   pg_ctl reload
>
> This forces the postmaster process to reread the configuration
> file with new shared_buffer value.  And the postgres process
> that comes to life from this point on will execute with the
> newly specified value.  Correct?

To quote the postgresql.conf file:

shared_buffers = 150MB                  # min 128kB or max_connections*16kB
                                        # (change requires restart)

So it requires a complete restart.  Note that for the things you can
reload on, there's no real effect on running queries or connections
(at least no detrimental ones I can think of.)

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

Предыдущее
От: "Tena Sakai"
Дата:
Сообщение: question on pg_ctl
Следующее
От: "Tena Sakai"
Дата:
Сообщение: Re: question on pg_ctl