Re: Database accesss using plperl

Поиск
Список
Период
Сортировка
От Jeff Eckermann
Тема Re: Database accesss using plperl
Дата
Msg-id 20040617155931.41994.qmail@web20812.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Database accesss using plperl  (Paul Thomas <paul@tmsl.demon.co.uk>)
Список pgsql-general
Further to my earlier email:  the CommandPrompt
pl/perl appears to handle trigger functions, but not
direct database access?  Someone correct me if I'm
wrong.

So DBI:PgSPI may still be the only way to query the
database from a function using Perl.  But are you sure
you really have to use Perl?  If you are looking for a
language other than pl/pgsql to do queries from
functions, look at pl/tcl; I think that pl/python and
pl/ruby may also have some capability to do what you
want.

--- Paul Thomas <paul@tmsl.demon.co.uk> wrote:
> On 17/06/2004 15:56 Robert Fitzpatrick wrote:
> > [snip]
> > I'm talking about writing PostgreSQL stored
> procedures using Perl that
> > access the database via queries (like pl/pgsql,
> maybe using DBI:Pg) for
> > SELECTs, INSERTs, UPDATEs, etc.
>
> Then DBI:PgSPI is what you want. AFAIK, DBI:Pg is
> for client-side only.
>
> HTH
>
> --
> Paul Thomas
>
+------------------------------+---------------------------------------------+
> | Thomas Micro Systems Limited | Software Solutions
> for
> Business             |
> | Computer Consultants         |
> http://www.thomas-micro-systems-ltd.co.uk   |
>
+------------------------------+---------------------------------------------+
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>




__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

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

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: Re: Database accesss using plperl
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: 7.4 for Windows?