Shaik Mohammad Mujeeb <mujeeb...@zohocorp.com> writes: > Currently, if there's a typo in an extension name while adding a GUC to > postgresql.conf, PostgreSQL server starts up silently without any warning. > This can be misleading, as one might assume the configuration has been > correctly applied, when in fact the value hasn’t been set due to the typo.
Well, yeah, because the core server has no way to identify bogus extension GUCs if the relevant extension isn't loaded. We do already complain about such things at extension load time. > To improve this experience, I’m proposing a patch that issues a > warning for such invalid GUC entries. How will you know they are invalid? All I see in the patch is a syntactic check, which looks quite redundant with assignable_custom_variable_name(). regards, tom lane