I've seen some PostgreSQL extension examples that use the
.control file to provide defaults for the extension's settings. This seems to be a remnant from a time in which extension settings had to be provided in the
.control file for them to be valid to Postgres at all. My question is: Has putting the extension settings in the
.control file ever been a required or recommended practice?
Edit 2022-01-08: My question wasn't sufficiently clear. I was specifically talking above about run-time configuration settings (such as can be set and get via
set_config()). I was not referring to control file parameters, which are neatly described in the official documentation.