Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVLEZ-0003a8-9l for pgsql-odbc@arkaria.postgresql.org; Thu, 25 Apr 2013 12:25:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVLEY-0006Ij-Q3 for pgsql-odbc@arkaria.postgresql.org; Thu, 25 Apr 2013 12:25:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVLEY-0006Hi-BR for pgsql-odbc@postgresql.org; Thu, 25 Apr 2013 12:25:06 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVLEO-0005sH-S4 for pgsql-odbc@postgresql.org; Thu, 25 Apr 2013 12:25:05 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 21B0F28440; Thu, 25 Apr 2013 05:24:54 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 1E751B05EC; Thu, 25 Apr 2013 05:24:54 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id C2186120049; Thu, 25 Apr 2013 05:29:37 -0700 (PDT) X-Virus-Scanned: amavisd-new at zcs-prod-ext-mta-1.vmware.com Received: from zcs-prod-ext-mta-1.vmware.com ([127.0.0.1]) by localhost (zcs-prod-ext-mta-1.vmware.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DkbRr__Wu72D; Thu, 25 Apr 2013 05:29:37 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 99512120033; Thu, 25 Apr 2013 05:29:37 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Thu, 25 Apr 2013 05:29:36 -0700 (PDT) Message-ID: <51792092.3060909@vmware.com> Date: Thu, 25 Apr 2013 15:24:50 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Vadim Zeitlin CC: pgsql-odbc@postgresql.org, Hiroshi Inoue 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: -6.9 (------) 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 12.04.2013 15: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 That was indeed a mishap, and as Hiroshi said it should be trivial to fix. We now have the git migration out of the way, too. But before Hiroshi or I go and fix that, could you write a small self-contained test case that triggers the problem, please? I tried to create one myself, but failed. It would be nice to have one, so that we can verify that the fix works, and to add that to the regression test suite as that codepath is clearly not exercised at the moment. > 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? The official repository is now at http://git.postgresql.org/gitweb/?p=psqlodbc.git. Thanks! - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc