Re: CREATE MODULE (was: Coping with 'C' vs 'newC' function language names)

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: mhh(at)mindspring(dot)com, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: CREATE MODULE (was: Coping with 'C' vs 'newC' function language names)
Date: 2000-11-14 01:08:59
Message-ID: 3.0.5.32.20001114120859.02b69360@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)rhyme(dot)com(dot)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 |/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-11-14 01:14:32 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message Bruce Momjian 2000-11-14 01:02:17 Re: Re: [PATCHES] PostgreSQL virtual hosting support