pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: litaowu@yahoo.com
To: pgsql-admin@postgresql.org
Subject: postgresql.conf and pg_ctl reload
Date: 19 Mar 2004 09:41:59 -0800
Message-ID: <a807f176.0403190941.39f9522b@posting.google.com> (raw)

Hi all,

postgresql.conf says:
# This file is read on postmaster startup and when the postmaster
# receives a SIGHUP. If you edit the file on a running system, you have 
# to SIGHUP the postmaster for the changes to take effect, or use
# "pg_ctl reload".

Does that mean I can just use "pg_ctl reload" to let the changed
parameters take affect? Or do I have to restart postgres? Or only some
parameters can be taken affect by "pg_ctl reload" (if this case, what are they)?


Same question from man page of pg_ctl:
pg_ctl reload  - 
  simply sends the postmaster a SIGHUP signal, causing  it  to  reread  
  its  configuration  files  (postgresql.conf,  pg_hba.conf,  etc.). 
  This allows changing of configuration-file options that do not require a  
  complete restart to take effect.

The problem is which options do not require a complete restart and which ones do?

Thanks,



Message-ID: <a807f176.0403190941.39f9522b@posting.google.com>
Permalink:  ../a807f176.0403190941.39f9522b@posting.google.com/
Also on:    postgresql.org/message-id/a807f176.0403190941.39f9522b@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: litaowu@yahoo.com
  Subject: Re: postgresql.conf and pg_ctl reload
  In-Reply-To: <a807f176.0403190941.39f9522b@posting.google.com>
  References: <a807f176.0403190941.39f9522b@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox