Re: replace plugins directory with GUC - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: replace plugins directory with GUC
Date
Msg-id m2y5jd5psp.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: replace plugins directory with GUC  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> Now that we support include-directories in postgresql.conf, you could put a
> "mylib.conf" file in the include directory that contains the above line, if
> you want to enable/disable a module just by moving things around in the
> filesystem (after configuring an include directory in postgresql.conf). But
> actually, you can't, because there's no way to append to a setting, you can
> only override. That's an obvious missing feature in the include mechanism.
> Even ignoring the plugins directory, it would be nice to be able to append
> libraries to shared_preload_libraries.

I think we need a += operator in the configuration file, complementing
the = we have now, and defined so that when the setting is not yet
defined it's a bare =.

And I think this plugins thing needs to be revisited, yes.

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



pgsql-hackers by date:

Previous
From: "Etsuro Fujita"
Date:
Subject: Re: FDW for PostgreSQL
Next
From: Sébastien Lardière
Date:
Subject: Re: Truncate if exists