Re: Database Connect

Поиск
Список
Период
Сортировка
От webb sprague
Тема Re: Database Connect
Дата
Msg-id 3AE06BDB.4FA1FF01@o1.com
обсуждение исходный текст
Ответ на Database Connect  (Michaël Fiey <m.fiey@futuresoundtech.com>)
Ответы Re: Database Connect  ("Brett W. McCoy" <bmccoy@chapelperilous.net>)
Список 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 по дате отправления:

Предыдущее
От: "Guilherme Fortunato"
Дата:
Сообщение: I want to unsubscribe!
Следующее
От: dev@archonet.com
Дата:
Сообщение: Re: very slow execution of stored procedures