Re: [PATCH] Store Extension Options - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Store Extension Options
Date
Msg-id 7585.1388979590@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Store Extension Options  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Jan 5, 2014 at 3:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> pg_dump creates extensions before tables, no?  So what dump/restore
>> hazard?

> Creating the extension doesn't guarantee that the shared library will
> always be loaded.

No, but unless the plan is that no validation happens at all (which
I gather is not your desire) then there must be some mechanism for
figuring out which extension owns a given reloption and asking it
to validate the value.  This might be more complicated than a passive
hook, but I don't feel bad about demanding that it work like that.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Compiling extensions on Windows
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Store Extension Options