By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,663 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,663 IT Pros & Developers. It's quick & easy.

Perl and Postgres

P: n/a
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 ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #2

P: n/a
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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.