Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))
Date: 2010-12-19 16:19:15
Message-ID: AANLkTimgNo1XPUmedXs9VGUdSqGGHTsy0vcPxa74O6j=@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Dec 19, 2010 at 23:45, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> I think I'd still argue for putting
> it in a separate patch.  I think that the value of extensions is first
> and foremost that they can simplify installing, removing, dumping, and
> restoring extensions.  I'd rather see us nail that, and then worry
> about custom_variable_classes as a separate issue, likely for 9.2 or
> beyond.

+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.

--
Itagaki Takahiro

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-12-19 16:21:51 Re: Extensions and custom_variable_classes (was: Extensions, patch v20 (bitrot fixes))
Previous Message Tom Lane 2010-12-19 16:07:25 Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)