Re: problem in module Pg with Apache, Perl and SSL - Mailing list pgsql-admin

From Morten Sickel
Subject Re: problem in module Pg with Apache, Perl and SSL
Date
Msg-id 54DE9A561AD20C4D9FF88B116965420E02A016@postix.nrpa.no
Whole thread Raw
In response to problem in module Pg with Apache, Perl and SSL  ("BELLIARD Francois - FT.BD/FTRD/DRHG/RSCL" <fb001@rd.francetelecom.com>)
Responses Re: problem in module Pg with Apache, Perl and SSL
List pgsql-admin
BELLIARD Francois wrote:
[Snip]
>When a Perl Cgi script tries to load the "Pg" module  (use Pg;  in the
script),
>there is the following error in the Apache Error Log :
[Snip]

I cannot find any 'Pg' module at CPAN, but if you are using the DBD-Pg, you
are not supposed to have any 'use Pg;' in your code, but rather
use DBI;

and afterwards
$dbh = DBI->connect("dbi:Pg:dbname=$dbname", $dbuser, $dbpass)

(If you are using any other module, please have me excused, I am not using
Solaris so I am not able to try to reproduce your error messages.)


Best regards

Morten

--
Morten Sickel
Norwegian Radiation Protection Authority

pgsql-admin by date:

Previous
From: "BELLIARD Francois - FT.BD/FTRD/DRHG/RSCL"
Date:
Subject: problem in module Pg with Apache, Perl and SSL
Next
From: "Jeff Madison"
Date:
Subject: Connection terminates but postmaster proc lives on...?