Dedect unknown database in 08.01.0100 and Postgres 8.1 - Mailing list pgsql-odbc

From Andrus
Subject Dedect unknown database in 08.01.0100 and Postgres 8.1
Date
Msg-id dkqql6$2bgo$1@news.hub.org
Whole thread Raw
Responses Re: Dedect unknown database in 08.01.0100 and Postgres 8.1
List 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 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Snapshot 08.01.0006 available for testing
Next
From: Tom Lane
Date:
Subject: Re: Dedect unknown database in 08.01.0100 and Postgres 8.1