Univention Bugzilla – Bug 47365
Include postgresql.conf.local in postgresql.conf
Last modified: 2020-09-10 15:49:42 CEST
We should offer to include a postgresql.conf.local in postgresql.conf. PostgreSQL is capable of doing this: https://www.postgresql.org/docs/9.6/static/config-setting.html This way customers could optimize their PostgreSQL config (e.g via pgtune) without modifying the UCR template.
Requested as a customer changed its postgreSQL for better performance. Changes will get lost with next update. Default postgresql.conf is generated by template and it reads: #------------------------------------------------------------------------------ # CONFIG FILE INCLUDES #------------------------------------------------------------------------------ # These options allow settings to be loaded from files other than the # default postgresql.conf. #include_dir = 'conf.d' # include files ending in '.conf' from # directory 'conf.d' #include_if_exists = 'exists.conf' # include file only if it exists #include = 'special.conf' # include file We should change the template so it activates the line "include_dir" and create the conf.d so customers can apply their own settings. Thus, all is update-safe.
The problem exists in 4.4 as well. Please change OS version to UCS 4.4.