Re: Possible problem with pg_reload_conf() and view pg_settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible problem with pg_reload_conf() and view pg_settings
Дата
Msg-id 18807.1131149902@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible problem with pg_reload_conf() and view pg_settings  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Список 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 по дате отправления:

Предыдущее
От: Gregory Maxwell
Дата:
Сообщение: Re: Reducing the overhead of NUMERIC data
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Assert failure found in 8.1RC1