Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQda0-0001O8-DJ for pgsql-odbc@arkaria.postgresql.org; Fri, 12 Apr 2013 12:59:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UQdZz-0001dx-TG for pgsql-odbc@arkaria.postgresql.org; Fri, 12 Apr 2013 12:59:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQdZz-0001ds-ES for pgsql-odbc@postgresql.org; Fri, 12 Apr 2013 12:59:47 +0000 Received: from sunset.tt-solutions.com ([82.238.156.189] helo=smtp.tt-solutions.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQdZu-00081D-3h for pgsql-odbc@postgresql.org; Fri, 12 Apr 2013 12:59:47 +0000 Received: from [192.168.17.86] (helo=Twilight) by smtp.tt-solutions.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UQdZr-00073b-2A for pgsql-odbc@postgresql.org; Fri, 12 Apr 2013 14:59:39 +0200 Message-Id: Date: Fri, 12 Apr 2013 14:59:35 +0200 From: Vadim Zeitlin Subject: Regression with no results returned from query between 9.01.01 and 9.01.02 To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1037086686-41-1365771575=:8484" Date: Fri, 12 Apr 2013 14:58:35 +0200 X-Mailer: Mahogany 0.68.0 'Cynthia', running under Windows 7 (build 7601, Service Pack 1), 64-bit edition X-Pg-Spam-Score: -3.1 (---) 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 --1037086686-41-1365771575=:8484 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE 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. 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? --1037086686-41-1365771575=:8484 Content-Type: APPLICATION/PGP-SIGNATURE Content-Disposition: ATTACHMENT -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEABECAAYFAlFoBPsACgkQBupB3k9sHoaNQACeJH5ccPERL/MOkoIFQGVFP9xL nmsAn2oN7KoTvOBRW4B9TLu6pKrung3k =yEEe -----END PGP SIGNATURE----- --1037086686-41-1365771575=:8484 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc --1037086686-41-1365771575=:8484--