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 3108AD1C9CF for ; Sat, 6 Mar 2004 14:56:24 +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 64040-05 for ; Sat, 6 Mar 2004 10:56:29 -0400 (AST) Received: from enron.intra.logicunited.com (ext.logicunited.com [62.245.245.139]) by svr1.postgresql.org (Postfix) with ESMTP id 7F3D5D1B906 for ; Sat, 6 Mar 2004 10:56:20 -0400 (AST) Received: from d330 (pD9EBE57C.dip.t-dialin.net [217.235.229.124]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by enron.intra.logicunited.com (Postfix) with ESMTP id BC3CE1CCA004; Sat, 6 Mar 2004 15:56:27 +0100 (CET) Message-ID: <01bd01c4038b$30861e90$2101a8c0@d330> From: "VanderLeeden" To: "Amit Kush" , Cc: "rvdl" References: Subject: Re: Help! Regarding Pg for posgreSQL Date: Sat, 6 Mar 2004 15:56:20 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/93 X-Sequence-Number: 12662 Hi Amit, you can check the pgperl Project -- pgperl pgperl is a native Perl interface to PostgreSQL. It clearly follows libpq's API. HomePage= http://gborg.postgresql.org/project/pgperl/projdisplay.php The most recent version is Pg-2.0.2 and if you install it on your node it will provide Pg.pm. A typical connect call served by this library looks like: $masterConn = Pg::connectdb($connectString); Good Luck! Rudolf VanderLeeden ----- Original Message ----- From: "Amit Kush" To: Sent: Tuesday, March 02, 2004 12:00 AM Subject: [ADMIN] Help! Regarding Pg for posgreSQL > 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 >