Thread: Perl and Postgres

Perl and Postgres

From
"Edwin Quijada"
Date:
Hi!
Where can I find examples to accesing  postgres with perl.
TIA

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger:
http://messenger.yupimsn.com/


Re: Perl and Postgres

From
Jan Poslusny
Date:
for instance <http://search.cpan.org/search?query=DBI>, install it and
read manual
regards, pajout

Edwin Quijada wrote:

> Hi!
> Where can I find examples to accesing  postgres with perl.
> TIA
>
> _________________________________________________________________
> Charla con tus amigos en línea mediante MSN Messenger:
> http://messenger.yupimsn.com/
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly
>


Re: Perl and Postgres

From
Will Trillich
Date:
On Fri, Oct 17, 2003 at 03:10:03PM +0000, Edwin Quijada wrote:
> Where can I find examples to accesing  postgres with perl.

if you have DBD::Pg and DBI, check out their respective
manpages. that's the easy way to get into postgres from perl.

as far as having perl available from inside postgres, check out
the plperl module/package/thingie.

so you're looking for either

    DBD::Pg and DBI
    or
    plperl (on debian, it's in package libpgperl)
    or
    both. :)

--
But when you disarm them, you begin to alienate them; you
advertise your mistrust of them...
    -- Niccolo Machiavelli, The Prince, chapter 20