Re: Extensions and custom_variable_classes - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Extensions and custom_variable_classes
Date
Msg-id m2tyi98v50.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Responses Re: Extensions and custom_variable_classes  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
List pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@gmail.com> writes:
> +1 to split the custom_variable_classes issue. It's a longstanding
> TODO item, but EXTENSION is still very useful without the fix.
>
> It's my guess that ExtensionSetCVC() can initialize modules one-by-one
> and be called on demand, for example, at SHOW, searching pg_settings,
> or assignment to variables with unknown classes.

Just so that we're on the same line here, if we are to remove
custom_variable_classes then we don't keep any GUC related code into the
extension patch, right?  So that ExtensionSetCVC() and friends disappear
entirely.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Extensions and custom_variable_classes
Next
From: Dimitri Fontaine
Date:
Subject: Re: Extensions, patch v20 (bitrot fixes)