Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1URx1H-0003ct-C7 for pgsql-odbc@arkaria.postgresql.org; Tue, 16 Apr 2013 03:57:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1URx1G-0006Zx-Sb for pgsql-odbc@arkaria.postgresql.org; Tue, 16 Apr 2013 03:57:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1URx1F-0006Z1-KT for pgsql-odbc@postgresql.org; Tue, 16 Apr 2013 03:57:21 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1URx1B-0002O1-7n for pgsql-odbc@postgresql.org; Tue, 16 Apr 2013 03:57:21 +0000 Received: (qmail 7183 invoked by uid 512); 16 Apr 2013 03:57:15 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.126.1.62) by sd2.tpf-fw-c.co.jp with SMTP; 16 Apr 2013 03:57:15 -0000 Message-ID: <516CCC19.50707@tpf.co.jp> Date: Tue, 16 Apr 2013 12:57:13 +0900 From: "Inoue, Hiroshi" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Vadim Zeitlin CC: pgsql-odbc@postgresql.org Subject: Re: Regression with no results returned from query between 9.01.01 and 9.01.02 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.5 (--) 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 Hi Vadim, (2013/04/12 21:58), Vadim Zeitlin wrote: > Hello, > > Our code doing some relatively simple SELECT queries has stopped working > after upgrading from 9.01.01 to 9.01.02. After some debugging and bisecting > I found that: > > 1. The original bug was introduced by a seemingly nonsensical change to > the SC_forget_unnamed() macro in statement.h in > https://github.com/hlinnaka/psqlodbc/commit/5f35a04c498c4af02a3d2ac4cd84a0610562c2a4 > > 2. The symptoms we're seeing have been corrected by the apparently > unrelated change in a yet unreleased commit > https://github.com/hlinnaka/psqlodbc/commit/79fa21bd5c52157cf9a2296b06aa7ad6cb9c8b9c > > I don't know this code at all so it's very difficult for me to day whether > the latter commit really fixes the problem or just works around/hides it, > but it seems pretty strange to have "FALSE && ..." condition as it's, of > course, always false, so why bother with testing it at all? Considering > that the commit of (1) also was clearly not tested much as it even broke > the code compilation (missing closing quote in the change to version.h), I > am not inclined to trust this change. But this is just a gut feeling and it > would be great if someone who really understands this code could look at > it. > > More generally, it would be very nice to have 9.01.03 release fixing this > bug as it's pretty annoying that we need to tell our users to download the > one but last release of the ODBC driver instead of the latest one. Unfortunately we don't have much time and there are some issues (Git migration or pending patches etc). Please wait for a while. As for Windows, I can provide the binaries on my home page which fixes the bug you pointed out if it's preferable. regards, Hiroshi Inoue > Thanks in advance, > VZ > > P.S. Does anybody know why the CVS repository at > http://pgfoundry.org/scm/?group_id=1000125 doesn't work? Is the Github > hlinnaka/psqlodbc repository the official place for psqlodbc sources > or is there some other place to get them from? -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc