Re: Possible problem with pg_reload_conf() and view pg_settings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Possible problem with pg_reload_conf() and view pg_settings
Date: 2005-11-05 00:18:22
Message-ID: 18807.1131149902@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> writes:
> However I was under the impression that if I did a pg_reload_conf(), the
> pg_settings view would be updated at that time, but that does not seem to
> happen.

It works for me ...

regression=# select setting from pg_settings where name = 'constraint_exclusion';
setting
---------
off
(1 row)

-- edit postgresql.conf in another window, set constraint_exclusion = on

regression=# select pg_reload_conf();
pg_reload_conf
----------------
t
(1 row)

regression=# select setting from pg_settings where name = 'constraint_exclusion';
setting
---------
on
(1 row)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2005-11-05 00:46:27 Re: Assert failure found in 8.1RC1
Previous Message Gregory Maxwell 2005-11-05 00:15:22 Re: Reducing the overhead of NUMERIC data