Bug 47365 - Include postgresql.conf.local in postgresql.conf
Summary: Include postgresql.conf.local in postgresql.conf
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: PostgreSQL
Version: UCS 4.4
Hardware: Other other
: P5 normal
Target Milestone: ---
Assignee: UCS maintainers
QA Contact: UCS maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 11:37 CEST by Michael Grandjean
Modified: 2025-02-05 09:29 CET (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018100921000179
Bug group (optional):
Customer ID: 07312, 09711
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2018-07-17 11:37:26 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.
Comment 1 Christian Völker univentionstaff 2018-10-09 17:22:42 CEST
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.
Comment 2 Stephan Hendl 2020-07-06 08:25:13 CEST
The problem exists in 4.4 as well. Please change OS version to UCS 4.4.
Comment 3 Jan-Luca Kiok univentionstaff 2025-02-05 09:29:08 CET
This issue has been filed against an older version of UCS.

With further development of our products affected components may have vastly changed while the corresponding use cases might have changed. Thus, this issue is now being closed.

If there still is a need for this feature, please use "Clone this bug" or reopen this issue. In this case please provide information on how this issue would benefit you.