Dedect unknown database in 08.01.0100 and Postgres 8.1

Поиск
Список
Период
Сортировка
От Andrus
Тема Dedect unknown database in 08.01.0100 and Postgres 8.1
Дата
Msg-id dkqql6$2bgo$1@news.hub.org
обсуждение исходный текст
Ответы Re: Dedect unknown database in 08.01.0100 and Postgres 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-odbc
I need to dedect the case where database specified in connection string does
not exist.

Earlier odbc driver with Postgres 8.0 returns special error text in this
case:

FATAL:  database "foo" does not exist


New ODBC driver with Postgres 8.1 returns the same error in all cases:

Could not connect to the server

How to determine is this error caused by non-existing database in cluster or
by other cause ?


Andrus



В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Snapshot 08.01.0006 available for testing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Dedect unknown database in 08.01.0100 and Postgres 8.1