Re: another idea for changing global configuration settings from SQL

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: another idea for changing global configuration settings from SQL
Дата
Msg-id 50A536BD.4080404@agliodbs.com
обсуждение исходный текст
Ответ на another idea for changing global configuration settings from SQL  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: another idea for changing global configuration settings from SQL  (Craig Ringer <craig@2ndQuadrant.com>)
Список pgsql-hackers
> ApplySetting(InvalidOid, InvalidOid, relsetting, PGC_S_$SOMETHING);
> 
> in postinit.c, and have some SQL command to modify this setting.
> 
> The only thing you couldn't handle that way are SIGHUP settings, but the
> often-cited use cases work_mem, logging, etc. would work.
> 
> There would also be the advantage that pg_dumpall would save these settings.

I think this is a great idea.

One caveat: we really, really, really need a system view which allows
DBAs to easily review settings defined for specific users and databases.Right now, it requires significant pg_catalog
hackingexpertise to pull
 
out user-specific settings.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Materialized views WIP patch
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: ALTER command reworks