Re: Dynamic loading of Perl Code in Postgres functions

Поиск
Список
Период
Сортировка
Искать
От
John DeSoi
Тема
Re: Dynamic loading of Perl Code in Postgres functions
Дата
Msg-id
229A5965-C8C3-49F1-A586-D3F8635370DF@pgedit.com
Ответ на
Список
Дерево обсуждения
Dynamic loading of Perl Code in Postgres functions "Jasbinder Singh Bali" <jsbali@gmail.com>
Re: Dynamic loading of Perl Code in Postgres functions "Adam Rich" <adam.r@sbcglobal.net>
Re: Dynamic loading of Perl Code in Postgres functions "Jasbinder Singh Bali" <jsbali@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 "Jasbinder Singh Bali" <jsbali@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 "Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>
Re: Dynamic loading of Perl Code in Postgres functions Tom Lane <tgl@sss.pgh.pa.us>
Re: Dynamic loading of Perl Code in Postgres functions "Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>
Re: Dynamic loading of Perl Code in Postgres functions "Jasbinder Singh Bali" <jsbali@gmail.com>
Re: Dynamic loading of Perl Code in Postgres functions "Jasbinder Singh Bali" <jsbali@gmail.com>
Re: Dynamic loading of Perl Code in Postgres functions "Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>
Re: Dynamic loading of Perl Code in Postgres functions "Jasbinder Singh Bali" <jsbali@gmail.com>
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 по дате отправления
От: Alvaro Herrera
Дата:
От: Martijn van Oosterhout
Дата:
FAQ