| From: | dom(at)happygiraffe(dot)net (Dominic Mitchell) |
|---|---|
| To: | Steven Klassen <sklassen(at)commandprompt(dot)com> |
| Cc: | Samik Raychaudhuri <samik(at)freeshell(dot)org>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: CGI program cannot access database |
| Date: | 2004-10-08 20:00:27 |
| Message-ID: | 20041008200027.GA25255@ppe.happygiraffe.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Fri, Oct 08, 2004 at 10:09:13AM -0700, Steven Klassen wrote:
> * Samik Raychaudhuri <samik(at)freeshell(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Josh Close | 2004-10-08 21:07:43 | foreign key constraints, cannot delete |
| Previous Message | Michael Fuhr | 2004-10-08 19:40:09 | Re: CGI program cannot access database |