From: Andrus <eetasoft@online.ee>
To: pgsql-odbc@postgresql.org
Subject: Dedect unknown database in 08.01.0100 and Postgres 8.1
Date: Tue, 8 Nov 2005 20:26:24 +0200
Message-ID: <dkqql6$2bgo$1@news.hub.org> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: eetasoft@online.ee
Subject: Re: Dedect unknown database in 08.01.0100 and Postgres 8.1
In-Reply-To: <dkqql6$2bgo$1@news.hub.org>
References: <dkqql6$2bgo$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox