Re: question on pg_ctl

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: question on pg_ctl
Date: 2008-09-22 18:40:28
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C0378F4F9@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Many thanks, Scott!

Tena

-----Original Message-----
From: Scott Marlowe [mailto:scott(dot)marlowe(at)gmail(dot)com]
Sent: Mon 9/22/2008 11:21 AM
To: Tena Sakai
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] question on pg_ctl

On Mon, Sep 22, 2008 at 11:49 AM, Tena Sakai <tsakai(at)gallo(dot)ucsf(dot)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.)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message kevin kempter 2008-09-22 22:06:06 Select all table column names for a specified tablename (per the system catalogs)
Previous Message Scott Marlowe 2008-09-22 18:21:35 Re: question on pg_ctl