Re: Postgresql Perl Problem

From: Gerald Sievers <gsievers(at)bellsouth(dot)net>
To: pgsql-questions(at)postgresql(dot)org
Subject: Re: Postgresql Perl Problem
Date: 2000-01-15 05:59:42
Message-ID: 38800CCE.437B27FC@bellsouth.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

use Pg; #upper case P. or did you forget to compile postgres w/perl support?

HydroMan wrote:

> I am trying my first query a postgresql database using perl (using a Redhat
> 6.0 distribution). The script fails on the line:
>
> $conn=Pg::connectdb("dbname=mydatabase");
>
> with the error 'Can't locate pg.pm in @INC.
>
> I thought that I may have been missing the perl5 interface for postgres, and
> tried to find one. The linux documentation suggests the site
> ftp://ftp.kciLink.com/pub/PostgresPerl-1.3.tar.gz, but its not there. Can
> anyone tell me if this missing intergace is the problem, and if it is, where
> I can get PostgresPerl-1.3.tar.gz?
>
> Thanx,
> Jason

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2000-01-15 10:09:40 Re: [GENERAL] New To List
Previous Message Ed Loehr 2000-01-15 03:45:33 Re: [GENERAL] More Rule creation problems (and nowhere near 8K)