X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0F9EED1BB93 for ; Mon, 8 Mar 2004 04:56:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 83041-09 for ; Mon, 8 Mar 2004 00:56:41 -0400 (AST) Received: from imtech.res.in (unknown [203.90.127.18]) by svr1.postgresql.org (Postfix) with ESMTP id 54848D1B530 for ; Mon, 8 Mar 2004 00:56:35 -0400 (AST) Received: by imtech.res.in (8.9.3/1.1.4.2/01Sep03-0214PM) id KAA0000015898; Mon, 8 Mar 2004 10:12:22 GMT Date: Mon, 8 Mar 2004 10:12:22 +0000 (GMT) From: Amit Kush To: Sam Barnett-Cormack Cc: pgsql-admin@postgresql.org Subject: Re: Help! Regarding Pg for posgreSQL In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/153 X-Sequence-Number: 12722 Thanks a lot to all of you. Downloaded and installed Pg-2.0.2. The problem was rectified. Thanks again. Amit On Sat, 6 Mar 2004, Sam Barnett-Cormack wrote: > In my perl scripts, I have: > > use DBI; > use DBD:Pg; > > So maybe this is what you need? > > On Mon, 1 Mar 2004, Amit Kush wrote: > > > Hi! > > I came to ur e-mail address from one of the sites through google. Hope u > > could help me please. > > I am using red hat linux and running my perl programs with postgresql at > > back end. > > The follwing error occurs while using Pg. > > > > -------------------------------------------- > > Can't locate Pg.pm in @INC (@INC contains: > > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl > > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) > > --------------------------------------------- > > > > Though on searching for Pg.pm it is found at the location > > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/Pg.pm > > > > If I copy it this Pg.pm file in > > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/, it does not > > give the above error but says connectdb() is an undefined subroutine. > > > > Any help will be highly appreciated. > > Regards > > Thanks > > > > ############################################################################## > > > > AMIT KUSH > > Bioinformatics Centre (BIC) > > Institute of Microbial Technology > > CHANDIGARH - 160 036 > > INDIA > > > > Phone : (0172) 2690279 (O) > > E-mail: , > > , > > Web : , > > > > ############################################################################## > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 6: Have you searched our list archives? > > > > http://archives.postgresql.org > > > > -- > > Sam Barnett-Cormack > Software Developer | Student of Physics & Maths > UK Mirror Service (http://www.mirror.ac.uk) | Lancaster University > ############################################################################## AMIT KUSH Bioinformatics Centre (BIC) Institute of Microbial Technology CHANDIGARH - 160 036 INDIA Phone : (0172) 2690279 (O) E-mail: , , Web : , ##############################################################################