GUC/postgresql.conf docs

Started by Thomas F. O'Connellover 23 years ago4 messagesdocsgeneral
Jump to latest
#1Thomas F. O'Connell
tfo@monsterlabs.com
docsgeneral

is it posted anywhere which GUC variables are reset upon pg_ctl reload
and which require a pg_ctl restart to take effect?

thanks.

-tfo

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Thomas F. O'Connell (#1)
docsgeneral
Re: GUC/postgresql.conf docs

"Thomas O'Connell" <tfo@monsterlabs.com> writes:

is it posted anywhere which GUC variables are reset upon pg_ctl reload
and which require a pg_ctl restart to take effect?

The ones for which the Admin Guide says "this can only be set at server
start" are in the latter class.

regards, tom lane

#3Thomas F. O'Connell
tfo@monsterlabs.com
In reply to: Tom Lane (#2)
docsgeneral
Re: GUC/postgresql.conf docs

I just wanted to make sure the list was exhaustive. What of those that
are marked "startup or postgresql.conf"? Do those respond to pg_ctl
reload if modified in postgresql.conf while postmaster is running?

Thanks!

-tfo

On Monday, January 13, 2003, at 02:05 , Tom Lane wrote:

Show quoted text

"Thomas O'Connell" <tfo@monsterlabs.com> writes:

is it posted anywhere which GUC variables are reset upon pg_ctl reload
and which require a pg_ctl restart to take effect?

The ones for which the Admin Guide says "this can only be set at server
start" are in the latter class.

regards, tom lane

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Thomas F. O'Connell (#3)
docsgeneral
Re: GUC/postgresql.conf docs

"Thomas F.O'Connell" <tfo@monsterlabs.com> writes:

I just wanted to make sure the list was exhaustive. What of those that
are marked "startup or postgresql.conf"?

I believe the latter are the ones you cannot set per-backend.

If you want to be certain, look through src/backend/utils/misc/guc.c
to see which variables are marked PGC_POSTMASTER. Those are the
restart-required vars. The ones marked PGC_SIGHUP can be changed from
postgresql.conf, but not per-backend. (See comments in
src/include/utils/guc.h for the gory details.)

If you find any for which the Admin Guide is wrong or misleading,
please submit a docs patch ...

regards, tom lane