Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvmWj-0003s0-ID for pgsql-odbc@arkaria.postgresql.org; Mon, 09 Nov 2015 13:30:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZvmWi-0001bq-Gv for pgsql-odbc@arkaria.postgresql.org; Mon, 09 Nov 2015 13:30:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZvmWL-00018j-Ir for pgsql-odbc@postgresql.org; Mon, 09 Nov 2015 13:30:05 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZvmWI-0003l3-Gl for pgsql-odbc@postgresql.org; Mon, 09 Nov 2015 13:30:05 +0000 Received: by pacdm15 with SMTP id dm15so175442704pac.3 for ; Mon, 09 Nov 2015 05:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vA+TNcK38vMMiJhu2NNCCEqk7CV2pq+IT0odTgwFW78=; b=AkIJ3OMLAloWHN2b5wSTabtILgVWZalxS5vFmj9VOgcwqrlX7+bxZP6rugVsMD6cKw DdmLKWWrpE4LBDbH+5GtWnSP38g2lUOq0+THy5lfpY8wI2H3h5IW92mAbFTa9w2kR6wk dTtBtqTwww+p2sQJy2DpWk1odCRfPxSfj5009OgBXUGNACyOLWZR8seuBJ27s8e08N/l aukA3msumvjh691QR6tdwy0tfv/Jyy4Q/ZT9FYIJAJs//PjgdyqmfJiDsy6dYgiYSevv rWy2CnQ2wbGELBHqj7o/jFTsOH8Inds7T4QQ2ZLeiUeBEiWV+1zomIz0BYpiROiGNORs RF8A== X-Received: by 10.68.189.1 with SMTP id ge1mr40003577pbc.42.1447075799697; Mon, 09 Nov 2015 05:29:59 -0800 (PST) Received: from [192.168.1.112] (dsl-hkibrasgw1-58c38f-82.dhcp.inet.fi. [88.195.143.82]) by smtp.gmail.com with ESMTPSA id ir5sm16504339pbc.13.2015.11.09.05.29.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 05:29:59 -0800 (PST) Message-ID: <56409FD4.1060209@iki.fi> Date: Mon, 09 Nov 2015 15:29:56 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: PSequel Support , pgsql-odbc@postgresql.org Subject: Re: Regression in SQLGetDiagField References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 10/25/2015 03:20 AM, PSequel Support wrote: > If a database requires a password and I try to connect to it without a > password, it will fail of course. In the version of `psqlodbcw.so` built > from tag REL-09_03_0400, I was able to get the error message ("A password > is required for this connection") with `SQLGetDiagField`. However, the > version built from the HEAD of the latest master > branch, `SQLGetDiagField` returns `SQL_NO_DATA`. Fixed, thanks for the report! If you have a chance, please check out the later master again and check that it now works for you too. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc