X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 321ABD7C27 for ; Tue, 8 Nov 2005 16:05:36 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05209-02 for ; Tue, 8 Nov 2005 20:05:33 +0000 (GMT) X-Greylist: delayed 00:05:07.398628 by SQLgrey- Received: from mail.refusion.com (mail.refusion.com [213.144.155.20]) by svr1.postgresql.org (Postfix) with ESMTP id 7CBE8D7BF8 for ; Tue, 8 Nov 2005 16:05:32 -0400 (AST) Received: from iwing by mail.refusion.com (MDaemon.PRO.v8.1.0.R) with ESMTP id md50000358469.msg for ; Tue, 08 Nov 2005 20:59:36 +0100 Message-ID: <085801c5e49f$08d866e0$0201a8c0@iwing> From: To: "Andrus" , "Tom Lane" Cc: References: <7740.1131476526@sss.pgh.pa.us> Subject: Re: Dedect unknown database in 08.01.0100 and Postgres 8.1 Date: Tue, 8 Nov 2005 21:00:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.1830 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 X-Authenticated-Sender: info@alternize.com X-Spam-Processed: mail.refusion.com, Tue, 08 Nov 2005 20:59:36 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 80.238.133.93 X-Return-Path: me@alternize.com X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.809 required=5 tests=[AWL=-1.614, DNS_FROM_RFC_DSN=2.872, NO_REAL_NAME=0.55, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 1.809 X-Spam-Level: * X-Archive-Number: 200511/80 X-Sequence-Number: 6317 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" To: "Andrus" Cc: Sent: Tuesday, November 08, 2005 8:02 PM Subject: Re: [ODBC] Dedect unknown database in 08.01.0100 and Postgres 8.1 > "Andrus" 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@postgresql.org so that your > message can get through to the mailing list cleanly >