Append to a GUC parameter ?

Поиск
Список
Период
Сортировка
От Jerry Sievers
Тема Append to a GUC parameter ?
Дата
Msg-id 86d2ceg611.fsf@jerry.enova.com
обсуждение исходный текст
Список pgsql-hackers
Using the 'include' keyword in postgresql.conf let's us do groovy things
like paste together pieces of  general purpose configs into the working file.

-- But since all we can do is set/reset the parameters the possibility  of concatenating fragments that use some of the
listparameters won't  work.
 

To wit; suppose we had a fragment for enabling auto_explain and another
for enabling pg_stat_statements.

Both of these require us to put something in shared_preload_libraries
and both make use of custom_variable_classes.

Just FWIW...  Something like...

shared_preload_libraries += auto_explain

Would do the trick.

I've  never heard this mentioned before so presume not many have
contemplated this.

Comments?

Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Fixed redundant i18n strings in json
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Proposal: Incremental Backup