Isaac Morland <isaac.morl...@gmail.com> writes: > Here's a radical suggestion: replace postgresql.auto.conf with a directory > containing multiple files. Each file is named after a configuration > parameter, and its content is the value of the parameter.
Hmm ... that seems like a lot of work and code churn --- in particular, guaranteed breakage of code that works today --- to solve a problem we haven't got. The problem we do have is lack of documentation, which this wouldn't in itself remedy. > In order to prevent confusing and surprising behaviour, the system should > complain vociferously if it finds a configuration parameter file that is > not named after a defined parameter, rather than just ignoring it. As has been pointed out repeatedly, the set of known parameters just isn't that stable. Different builds can recognize different sets of GUCs, even without taking extensions into account. regards, tom lane