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

Поиск
Список
Период
Сортировка
Искать
От
Mark Hollomon
Тема
Re: CREATE MODULE (was: Coping with 'C' vs 'newC' function language names)
Дата
Msg-id
00111320335400.12247@jupiter
Ответ на
Список
Дерево обсуждения
Re: Coping with 'C' vs 'newC' function language names Thomas Lockhart <lockhart@alumni.caltech.edu>
Re: Coping with 'C' vs 'newC' function language names Bruce Momjian <pgman@candle.pha.pa.us>
On Saturday 11 November 2000 20:30, Tom Lane wrote:
> Philip Warner  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 proposed this some time ago, even wrote up a semiformal proposal.
I was told at the time it was a bad idea.

The only objection I remember of the top of my head had to do with set-uid.

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. I saw it as a way to distribute types and even whole applications.

-- 
Mark Hollomon

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Bruce Momjian
Дата:
FAQ