Re: CGI program cannot access database - Mailing list pgsql-general

From dom@happygiraffe.net (Dominic Mitchell)
Subject Re: CGI program cannot access database
Date
Msg-id 20041008200027.GA25255@ppe.happygiraffe.net
Whole thread Raw
In response to Re: CGI program cannot access database  (Steven Klassen <sklassen@commandprompt.com>)
List pgsql-general
On Fri, Oct 08, 2004 at 10:09:13AM -0700, Steven Klassen wrote:
> * Samik Raychaudhuri <samik@freeshell.org> [2004-10-08 11:37:49 -0500]:
>
> > Thanks very much for your reply. Why do you say that the connect
> > string is a little unorthodox? I just followed the standard DBI
> > documentation.
>
> Just not used to seeing the semi-colons in the DSN. Usually the
> dbname, host, and port directives are space delimited.

Perl DBI uses a different format to the usual libpq one.  It's
documented in DBD::Pg.

  http://search.cpan.org/~rudy/DBD-Pg-1.32/Pg.pm#DBI_Class_Methods

-Dom

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: CGI program cannot access database
Next
From: Josh Close
Date:
Subject: foreign key constraints, cannot delete