Perl and Postgres

Started by Edwin Quijadaover 22 years ago3 messagesgeneral
Jump to latest
#1Edwin Quijada
listas_quijada@hotmail.com

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/

#2Jan Poslusny
pajout@gingerall.cz
In reply to: Edwin Quijada (#1)
Re: Perl and Postgres

for instance <http://search.cpan.org/search?query=DBI&gt;, install it and
read manual
regards, pajout

Edwin Quijada wrote:

Show quoted text

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

#3will trillich
will@serensoft.com
In reply to: Edwin Quijada (#1)
Re: Perl and Postgres

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