Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XbPQH-0005WZ-DU for pgsql-odbc@arkaria.postgresql.org; Tue, 07 Oct 2014 07:43:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XbPQG-0001sD-ML for pgsql-odbc@arkaria.postgresql.org; Tue, 07 Oct 2014 07:43:04 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XbPQE-0001s4-QO for pgsql-odbc@postgresql.org; Tue, 07 Oct 2014 07:43:02 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XbPQ9-0004tX-GR for pgsql-odbc@postgresql.org; Tue, 07 Oct 2014 07:42:59 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id E1A33283BE; Tue, 7 Oct 2014 00:42:52 -0700 (PDT) Received: from EX13-CAS-011.vmware.com (EX13-CAS-011.vmware.com [10.113.191.63]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id DD7E9B16ED; Tue, 7 Oct 2014 00:42:52 -0700 (PDT) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-002.vmware.com (10.113.191.22) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 7 Oct 2014 00:42:42 -0700 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 7 Oct 2014 00:42:42 -0700 Message-ID: <5433996E.7050805@vmware.com> Date: Tue, 7 Oct 2014 10:42:38 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: David Hedberg , Michael Paquier CC: PostgreSQL mailing lists Subject: Re: [PATCH] Return the correct column names in SQLTables (resend) References: In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) 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 10/07/2014 09:08 AM, David Hedberg wrote: > (Forgot to reply to the list) > > On Tue, Oct 7, 2014 at 2:36 AM, Michael Paquier > wrote: >> >> >> On Mon, Oct 6, 2014 at 10:19 PM, David Hedberg >> wrote: >>> >>> Resending this patch rebased on latest master. Please apply or tell me >>> if it looks wrong. >> >> At quick glance this patch is correct, and that's actually the same as the >> one you sent before. > > Thanks for looking. Since I've never sent a patch to this project > before I'm relying on my experience with development in another > project, which is basically "if it's not in git yet and no one has > said anything definite, resend or it will get lost". I don't know how > to proceed here. Sorry for the slow response. I've had your email lying in my inbox, but haven't gotten around to it. In theory, it would be nicer to do changes like this in a major release, i.e. when we bump from 9.3.XXXX to 9.4.XXXX. But then again, the pgsql-odbc project has never made much distinction between minor and major releases. I'm not 100% sure the check for EN_is_odbc3 is correct. If an application wants ODBC2 behavior, but the driver is an ODBC3 driver, the driver manager is supposed to bridge the differences. But I'm not convinced it's wrong either, so I left it as you wrote it. (Of course, no-one uses ODBC2 anymore, so it doesn't matter in practice). I also fixed the expected output for the catalogfunctions regression test - it contained the old column names. I've committed this now. The change will appear in the next release. 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