Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes)) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))
Date
Msg-id 24732.1292775711@sss.pgh.pa.us
Whole thread Raw
In response to Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))  (Robert Haas <robertmhaas@gmail.com>)
Re: Extensions and custom_variable_classes  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> Now, for people following but not reading the patch, what's in is that
> in order for extensions using custom_variable_classes to work without
> the user having to care about it, I've added an step at backend startup
> time to seqscan pg_extension and update custom_variable_classes from
> this catalog.

I agree with Robert that that is an utterly horrid, broken concept.

Just to point out one concrete problem: the postmaster reads
postgresql.conf too, so it would have to do this as well in order to
parse postgresql.conf correctly.

Please remove it.  If you think of a non-broken way to do this later,
we can revisit the problem then.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))
Next
From: Tom Lane
Date:
Subject: Re: keeping a timestamp of the last stats reset (for a db, table and function)