Re: Dedect unknown database in 08.01.0100 and Postgres 8.1

From: <me(at)alternize(dot)com>
To: "Andrus" <eetasoft(at)online(dot)ee>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Dedect unknown database in 08.01.0100 and Postgres 8.1
Date: 2005-11-08 20:00:07
Message-ID: 085801c5e49f$08d866e0$0201a8c0@iwing
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

confirmed here: if you specify wrong account or password in the connection
string, all the odbc driver (unicode version) returns is "Could not connect
to the server"

cheers,
thomas

----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrus" <eetasoft(at)online(dot)ee>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Sent: Tuesday, November 08, 2005 8:02 PM
Subject: Re: [ODBC] Dedect unknown database in 08.01.0100 and Postgres 8.1

> "Andrus" <eetasoft(at)online(dot)ee> writes:
>> 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
>
> This seems like a serious regression in behavior. Why isn't the driver
> returning the error string provided by libpq?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Josef Springer 2005-11-09 08:23:45 Re: Snapshot 08.01.0006 available for testing
Previous Message Tom Lane 2005-11-08 19:02:06 Re: Dedect unknown database in 08.01.0100 and Postgres 8.1