Re: Database Connect - Mailing list pgsql-general

From webb sprague
Subject Re: Database Connect
Date
Msg-id 3AE06BDB.4FA1FF01@o1.com
Whole thread Raw
In response to Database Connect  (Michaël Fiey <m.fiey@futuresoundtech.com>)
Responses Re: Database Connect
List pgsql-general
Aahh!  I have a million Perl scripts that rely on this syntax in the DBI
to connect to remote databases.

like:

$dbh=DBI->connect( "dbi:Pg:dbname=datab@remotehost",'wsprague','pass',
             {RaiseError => 1, AutoCommit => 1})
             or print STDERR "$DBI::errstr<p>";

Umm, do you have any idea what we should do now?

Thanks for all the effort that you guys have put into Postgres--if I was
following pgsql-hackers I probably could have put my 2 cents in earlier.

W

Tom Lane wrote:

> > But whan I start psql with the command 'psql mybase@myhost' I receive  :
> > psql: FATAL 1: Database "mybase@myhost" does not exist in system catalog
>
> This syntax isn't supported.
>

pgsql-general by date:

Previous
From: "Guilherme Fortunato"
Date:
Subject: I want to unsubscribe!
Next
From: dev@archonet.com
Date:
Subject: Re: very slow execution of stored procedures