Re: CREATE MODULE (was: Coping with 'C' vs 'newC' function language names) - Mailing list pgsql-hackers

From Philip Warner
Subject Re: CREATE MODULE (was: Coping with 'C' vs 'newC' function language names)
Date
Msg-id 3.0.5.32.20001114120859.02b69360@mail.rhyme.com.au
Whole thread Raw
In response to Re: CREATE MODULE (was: Coping with 'C' vs 'newC' function language names)  (Mark Hollomon <mhh@mindspring.com>)
List pgsql-hackers
At 20:33 13/11/00 -0500, Mark Hollomon wrote:
>On Saturday 11 November 2000 20:30, Tom Lane wrote:
>> Philip Warner <pjw@rhyme.com.au> writes:
>>
>> > Might even be able to implement a 'CREATE MODULE' which loads an
>> > object, enquires about functions in the module, and creates function
>> > entries based on information returned from pg_fmgr_info...
>>
>> That could work ... something to think about for the future, anyway.
>
>I apporached the other way.  LOAD MODULE would call a well defined
>entry point which could then use SPI or some other facility to create 
>whatever.

The problem with this suggestion (in the current context) is it does not
make the function manager interface version independant. 


> I saw it as a way to distribute types and even whole applications.

I don't know the details, but why not write an installer of some kind (RPM,
etc)?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [PATCHES] PostgreSQL virtual hosting support
Next
From: Bruce Momjian
Date:
Subject: Re: Re: [PATCHES] PostgreSQL virtual hosting support