Re: Dynamic loading of Perl Code in Postgres functions

Поиск
Список
Период
Сортировка
От Jasbinder Singh Bali
Тема Re: Dynamic loading of Perl Code in Postgres functions
Дата
Msg-id a47902760701160725o5c628f60w7c782bb3ed6bfc0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Dynamic loading of Perl Code in Postgres functions  (John DeSoi <desoi@pgedit.com>)
Ответы Re: Dynamic loading of Perl Code in Postgres functions  (John DeSoi <desoi@pgedit.com>)
Список pgsql-general
So there is nothing called dynamic loading of perl code in postgres.
I'll have to include the whole perl script in the postgres function you mean?
Thanks,
Jas

On 1/16/07, John DeSoi <desoi@pgedit.com> wrote:
> Assuming you have pl/perl support compiled into PostgreSQL, just use
> CREATE FUNCTION:
>
> http://www.postgresql.org/docs/8.2/interactive/plperl-funcs.html
>
>
>
>
> On Jan 16, 2007, at 9:24 AM, Jasbinder Singh Bali wrote:
>
> > Actually I want to load my perl code in postgres function.
> > How would i do that?
> > In C you have the notion of shared objects that you dynamically load
> > in postgres functions.
> > If one has to dynamically load the functionality of some perl code in
> > postgres function, how would that be done?
> > I think i was not clear enough in my last email
>
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
>
>

В списке pgsql-general по дате отправления:

Предыдущее
От: Darcy Buskermolen
Дата:
Сообщение: Re: [HACKERS] Autovacuum Improvements
Следующее
От: "Gellert, Andre"
Дата:
Сообщение: Re: Need setup help for Postgresql 8.1.3 on Solaris 10