Re: Plugin system like Firefox

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Plugin system like Firefox
Date: 2008-08-12 15:05:31
Message-ID: 200808121505.m7CF5VZ13138@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Markus Wanner wrote:
> Hi,
>
> Bruce Momjian wrote:
> > So, ideally, if we do a plug-in system, I think we need some way to have
> > these plugins be very easily installed, perhaps by choosing object files
> > pre-compile by the build farm for each operating system.
>
> IIRC the main problem isn't compilation and packaging of plugins. On
> your Ubuntu system, for example, you can easily install
> 'postgresql-contrib-8.x' and get most of the contrib modules as *.so
> libraries. You'll even find the install_*.sql and uninstall_*.sql
> scripts in '/usr/share/postgresql/8.x/contrib'.
>
> The main problem I see is ease of installation and backup/restore
> capability of these modules. Installing the tsearch2 module with:
>
> psql $YOURDB < /usr/share/postgresql/8.x/contrib/tsearch2.sql
>
> ..is already quite easy to do. But beware of the trouble when trying to
> back up and restore that database later on!

Well, dump/restore is part of the problem for /contrib but we need
something that handles pgfoundry stuff too, which I doubt is ever going
to be covered sufficiently by any OS-specific solutions.

The bottom line is that for software to be successful we need a critical
mass, and as long as we are doing OS-specific plugins we aren't going to
reach that critical mass because the OS-specific aspect splits up
demand.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-08-12 15:07:09 Re: Plugin system like Firefox
Previous Message Magnus Hagander 2008-08-12 12:25:11 Re: pg crashing