Thread: Perl postgres question
One more question.. what module(s) are you guys using to access postgres from perl?? Travis
i know the following work: DBI-1.18 DBD-Pg-1.00 -- john Sometime in June Williams, Travis L, NPONS assaulted keyboard and produced... |One more question.. what module(s) are you guys using to access postgres |from perl?? | |Travis | |---------------------------(end of broadcast)--------------------------- |TIP 5: Have you checked our extensive FAQ? | |http://www.postgresql.org/users-lounge/docs/faq.html |
Perl DBI + DBD:Pg driver is the most widely used, and probably the best way. Chuck -----Original Message----- From: pgsql-novice-owner@postgresql.org [mailto:pgsql-novice-owner@postgresql.org]On Behalf Of Williams, Travis L, NPONS Sent: Wednesday, June 20, 2001 11:09 AM To: pgsql-novice@postgresql.org Subject: [NOVICE] Perl postgres question One more question.. what module(s) are you guys using to access postgres from perl?? Travis ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
On Wed, 20 Jun 2001, Williams, Travis L, NPONS wrote: > One more question.. what module(s) are you guys using to access postgres > from perl?? DBI and DBD::Pg. regards, le -- Lukas Ertl eMail: l.ertl@univie.ac.at WWW-Redaktion Tel.: (+43 1) 4277-14073 Zentraler Informatikdienst (ZID) Fax.: (+43 1) 4277-9140 der Universität Wien
At 12:08 PM 6/20/01 -0500, Williams, Travis L, NPONS wrote: >One more question.. what module(s) are you guys using to access postgres >from perl?? > >Travis I use the Pg module. I couldn't get DBI to work, perhaps due to my lack of skill. Ryan
> > At 12:08 PM 6/20/01 -0500, Williams, Travis L, NPONS wrote: > >One more question.. what module(s) are you guys using to access postgres > >from perl?? > >Travis > > I use the Pg module. I couldn't get DBI to work, perhaps due to my lack of > skill. I use the DBI module, and really recommend it. If you use Pg to code, and later want to change the underlying database, you will need to recode the whole project. If you use DBI, you may get away with changing just one line. -- Danny Aldham Providing Certified Internetworking Solutions to Business www.postino.com E-Mail, Web Servers, Web Databases, SQL PHP & Perl
Sometime in June Danny Aldham assaulted keyboard and produced... |> |> At 12:08 PM 6/20/01 -0500, Williams, Travis L, NPONS wrote: |> >One more question.. what module(s) are you guys using to access postgres |> >from perl?? |> >Travis |> |> I use the Pg module. I couldn't get DBI to work, perhaps due to my lack of |> skill. | |I use the DBI module, and really recommend it. If you use Pg to code, |and later want to change the underlying database, you will need to |recode the whole project. If you use DBI, you may get away with |changing just one line. assuming you use standard sql in your selects and stuff. i really like alot of postgreses operators. so in reality you would probably have to change more than one line, but not nearly as much if you use only the pg module. -- john