Re: Possible problem with pg_reload_conf() and view pg_settings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Possible problem with pg_reload_conf() and view pg_settings
Date
Msg-id 18807.1131149902@sss.pgh.pa.us
Whole thread Raw
In response to Possible problem with pg_reload_conf() and view pg_settings  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-hackers
Tony Caduto <tony_caduto@amsoftwaredesign.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


pgsql-hackers by date:

Previous
From: Gregory Maxwell
Date:
Subject: Re: Reducing the overhead of NUMERIC data
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Assert failure found in 8.1RC1