From: Amit Kush <akush@imtech.res.in>
To: Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
Cc: pgsql-admin@postgresql.org
Subject: Re: Help! Regarding Pg for posgreSQL
Date: Mon, 8 Mar 2004 10:12:22 +0000 (GMT)
Message-ID: <Pine.OSF.3.91.1040308101202.15769B-100000@imtech.res.in> (raw)
In-Reply-To: <Pine.LNX.4.58.0403061252060.26023@short.lancs.ac.uk>
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: <amitkush@yahoo.com>, <amitkush@rediffmail.com>
> > <amitkush@datainfosys.net>, <akush@imtech.res.in>
> > Web : <www.kush.i8.com>, <www2.imtech.res.in/akush>
> >
> > ##############################################################################
> >
> >
> >
> > ---------------------------(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: <amitkush@yahoo.com>, <amitkush@rediffmail.com>
<amitkush@datainfosys.net>, <akush@imtech.res.in>
Web : <www.kush.i8.com>, <www2.imtech.res.in/akush>
##############################################################################
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: akush@imtech.res.in, s.barnett-cormack@lancaster.ac.uk
Subject: Re: Help! Regarding Pg for posgreSQL
In-Reply-To: <Pine.OSF.3.91.1040308101202.15769B-100000@imtech.res.in>
References: <Pine.LNX.4.58.0403061252060.26023@short.lancs.ac.uk> <Pine.OSF.3.91.1040308101202.15769B-100000@imtech.res.in>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox