From:
Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
To:
Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc:
Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>,
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,
Magnus Hagander <magnus(at)hagander(dot)net>,
Greg Sabino Mullane <greg(at)turnstep(dot)com>,
pgsql-hackers(at)postgresql(dot)org
Subject:
Re: modules
Date:
2008-04-03 00:42:08
Message-ID:
47F427E0.8030209@cheapcomplexdevices.com (view raw or flat )
Thread:
2008-01-20 08:21:01 from Jon Hancock <redstarling(at)gmail(dot)com>
2008-01-20 16:38:46 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2008-01-22 05:26:58 from Julio Cesar Sánchez González <knowhow(at)sistemasyconectividad(dot)com(dot)mx>
2008-01-20 17:24:11 from "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
2008-01-20 17:59:56 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2008-01-20 18:12:55 from Magnus Hagander <magnus(at)hagander(dot)net>
2008-01-20 18:06:49 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2008-01-20 18:47:12 from Joe Conway <mail(at)joeconway(dot)com>
2008-01-20 18:42:21 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-01-20 20:35:23 from David Fetter <david(at)fetter(dot)org>
2008-01-21 07:53:14 from Florian Weimer <fweimer(at)bfk(dot)de>
2008-01-21 15:33:13 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-01-21 15:38:28 from Florian Weimer <fweimer(at)bfk(dot)de>
2008-01-21 16:02:48 from "Marko Kreen" <markokr(at)gmail(dot)com>
2008-01-21 16:16:57 from "Marko Kreen" <markokr(at)gmail(dot)com>
2008-01-28 18:56:30 from Bruce Momjian <bruce(at)momjian(dot)us>
2008-01-28 20:15:54 from "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
2008-01-29 08:06:45 from "Marko Kreen" <markokr(at)gmail(dot)com>
2008-01-29 08:10:13 from Florian Weimer <fweimer(at)bfk(dot)de>
2008-04-02 03:06:26 from Bruce Momjian <bruce(at)momjian(dot)us>
2008-04-02 09:32:30 from Magnus Hagander <magnus(at)hagander(dot)net>
2008-04-02 23:03:09 from Bruce Momjian <bruce(at)momjian(dot)us>
2008-04-02 13:07:01 from "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
2008-04-02 15:38:31 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-02 15:49:28 from Magnus Hagander <magnus(at)hagander(dot)net>
2008-04-02 20:34:09 from Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
2008-04-02 20:53:09 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-02 21:09:14 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-02 21:17:59 from Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
2008-04-02 23:41:16 from Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
2008-04-03 00:15:49 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-03 00:42:08 from Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
2008-04-03 09:11:29 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-03 00:55:52 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-03 16:31:01 from Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
2008-04-03 16:57:57 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-03 17:06:25 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-03 17:27:03 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-03 17:39:09 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2008-04-03 17:42:33 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-03 17:30:11 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-03 17:44:34 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-06 18:28:59 from Tino Wildenhain <tino(at)wildenhain(dot)de>
2008-04-03 07:12:58 from Magnus Hagander <magnus(at)hagander(dot)net>
2008-04-03 11:33:42 from "Zeugswetter Andreas OSB SD" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
2008-04-03 12:23:43 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-03 13:54:11 from "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
2008-04-03 14:01:38 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-03 16:21:29 from Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
2008-04-03 16:50:28 from Steve Atkins <steve(at)blighty(dot)com>
2008-04-03 14:55:39 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-03 15:33:05 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-03 15:47:12 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2008-04-03 16:15:52 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-03 16:22:14 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2008-04-03 16:38:12 from "Brendan Jurd" <direvus(at)gmail(dot)com>
2008-04-03 19:03:43 from Darcy Buskermolen <darcyb(at)commandprompt(dot)com>
2008-04-03 19:24:55 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2008-04-04 15:05:44 from Greg Smith <gsmith(at)gregsmith(dot)com>
2008-04-04 20:27:43 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-04 21:17:48 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-04 22:20:10 from Gregory Stark <stark(at)enterprisedb(dot)com>
2008-04-03 16:00:41 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2008-04-04 05:18:37 from Jeremy Drake <pgsql(at)jdrake(dot)com>
2008-04-04 08:53:31 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-04 09:06:01 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2008-04-04 13:15:31 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-04 13:35:15 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-04 13:49:40 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-04 14:17:30 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-04 15:03:01 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-04 18:52:34 from Gregory Stark <stark(at)enterprisedb(dot)com>
2008-04-04 19:12:23 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-04 20:12:44 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-05 00:22:51 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-05 00:33:03 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-05 01:17:10 from Gregory Stark <stark(at)enterprisedb(dot)com>
2008-04-05 07:03:05 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-05 07:18:07 from PFC <lists(at)peufeu(dot)com>
2008-04-05 15:18:07 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-05 09:43:47 from Gregory Stark <stark(at)enterprisedb(dot)com>
2008-04-05 01:53:56 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-05 02:59:44 from Aidan Van Dyk <aidan(at)highrise(dot)ca>
2008-04-05 11:41:20 from Martijn van Oosterhout <kleptog(at)svana(dot)org>
2008-04-05 12:07:27 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-04 20:26:07 from "Tom Dunstan" <pgsql(at)tomd(dot)cc>
2008-04-04 20:50:34 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-04 21:00:17 from Gregory Stark <stark(at)enterprisedb(dot)com>
2008-04-03 16:35:31 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-03 16:41:57 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2008-04-03 16:46:30 from "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
2008-04-03 16:55:16 from "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
2008-04-03 23:28:48 from Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
2008-04-03 14:23:02 from "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
2008-04-03 15:32:37 from Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
2008-04-03 16:14:17 from Svenne Krap <svenne(at)krap(dot)dk>
2008-04-03 16:28:40 from Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
2008-04-03 17:07:56 from Svenne Krap <svenne(at)krap(dot)dk>
2008-04-03 17:16:39 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-03 18:23:04 from Sam Mason <sam(at)samason(dot)me(dot)uk>
2008-04-03 22:06:03 from Svenne Krap <svenne(at)krap(dot)dk>
2008-04-04 00:37:30 from Sam Mason <sam(at)samason(dot)me(dot)uk>
2008-04-03 23:42:47 from Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com>
2008-04-04 01:01:57 from Sam Mason <sam(at)samason(dot)me(dot)uk>
2008-04-03 17:36:38 from Svenne Krap <svenne(at)krap(dot)dk>
2008-04-03 20:27:44 from Mark Mielke <mark(at)mark(dot)mielke(dot)cc>
2008-04-03 21:12:11 from Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
2008-04-03 21:39:30 from Svenne Krap <svenne(at)krap(dot)dk>
2008-04-03 16:52:45 from Sam Mason <sam(at)samason(dot)me(dot)uk>
2008-04-02 16:38:17 from sanjay sharma <sanksh(at)hotmail(dot)com>
2008-04-02 17:05:14 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-02 17:20:14 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2008-04-02 17:28:16 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2008-04-02 16:13:13 from David Fetter <david(at)fetter(dot)org>
2008-04-02 16:27:15 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-02 16:32:10 from David Fetter <david(at)fetter(dot)org>
2008-04-02 16:43:20 from Steve Crawford <scrawford(at)pinpointresearch(dot)com>
2008-04-02 16:49:38 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-02 16:55:09 from David Fetter <david(at)fetter(dot)org>
2008-04-02 17:00:46 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2008-04-02 17:16:53 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2008-04-02 17:23:56 from David Fetter <david(at)fetter(dot)org>
2008-04-02 18:28:00 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2008-01-21 08:08:38 from "Marko Kreen" <markokr(at)gmail(dot)com>
Lists:
pgsql-general pgsql-hackers
Andrew Dunstan wrote:
>> I think it'd be especially cool if one could one-day have a command
>>
>> pg_install_module [modulename] -d [databasename]
>
> Yes, and the CPAN analogy that has been in several minds, but it only
> goes so far. Perl and Ruby are languages - Postgres is a very different
> animal.
Sure - but the benefits of standardizing installers for optional
components seems to apply the same for both.
> We do in fact have some support for building / installing some modules
> in a standard way. It's called pgxs and it is used by quite a number of
> existing modules.
Cool. Seems to handle at least quite a bit of the building part of
standardized modules.
> One thing that might be worth looking at is an install command at the
> SQL level, so the "INSTALL foo" would run the install script for the foo
> module in the current database, assuming it's in the standard location.
I'm guessing that this would be harder to add various
options (install/ignore dependancies ; specify a different source
web site) that a standard installer would like to have.
> We don't have a central repository of non-standard modules, like CPAN,
> and so of course no facility for fetching / building / installing them.
Seems that could easily be improved in a number of ways.
* The installer could specify the source. For example
pg_install_module postgis -source http://www.refractions.net
in exactly the same way ruby uses
gem install rails –source http://gems.rubyonrails.org
* pgfoundry could provide a repository of installable modules
for projects hosted there.
* perhaps pgfoundry could even have a section where it points
to installers on third party sites?
> Not all modules fit a single pattern, either. There are addon languages,
> types, and function libraries, as we all as utilities that are not
> installed in the database at all.
Agreed. Such a mechanism would only really apply for things
that are installed in the database. But from an end user's
point of view, installing functions, index types, languages,
data types, etc all see to fit the "pg_install postgis -d mydb",
"pg_install pl_ruby -d mydb", etc. pattern pretty well.
> Finally, setting up modules so they can be built for Windows, especially
> using MSVC, will probably be quite a challenge.
Indeed. Seems ruby gems give you the option of installing a "ruby"
version or a "windows" version that I'm guessing has pre-compiled
object files.
> So if someone wants to make a start on any of this I'm sure we would all
> listen up.
I'm happy to try, though might need pointing in the right directions.
In response to
Responses
pgsql-hackers by date
Next :From: D'Arcy J.M. CainDate: 2008-04-03 00:55:52
Subject : Re: modules
Previous :From : Bruce MomjianDate : 2008-04-03 00:41:56
Subject : Re: printTable API (was: Show INHERIT in \du)
pgsql-general by date
Next :From: AndreasDate: 2008-04-03 00:44:23
Subject : PG 8.3.x doesn't get build
Previous :From : Greg Sabino MullaneDate : 2008-04-03 00:22:30
Subject : Re: Proper Way to Disable Triggers