Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WvAlC-0002ET-WC for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Jun 2014 19:34:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WvAlC-0007av-FI for pgsql-odbc@arkaria.postgresql.org; Thu, 12 Jun 2014 19:34:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WvAlB-0007ZN-FE for pgsql-odbc@postgresql.org; Thu, 12 Jun 2014 19:34:05 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1WvAl7-0004rY-Em for pgsql-odbc@postgresql.org; Thu, 12 Jun 2014 19:34:04 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 78FBE98833; Thu, 12 Jun 2014 12:33:56 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 71C371880A; Thu, 12 Jun 2014 12:33:56 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 093F8C0063; Thu, 12 Jun 2014 12:34:09 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Thu, 12 Jun 2014 12:34:08 -0700 (PDT) Message-ID: <539A00A1.2020302@vmware.com> Date: Thu, 12 Jun 2014 22:33:53 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Walter Couto , "pgsql-odbc@postgresql.org" Subject: Re: Missing meta data information for bit and bit varying References: <7FA4F9E5512F214C801E596ECD8790E066A8499F@ETNAMAIL01.embarcadero.com> <5399B6CE.3080204@vmware.com> <7FA4F9E5512F214C801E596ECD8790E066A8587B@ETNAMAIL01.embarcadero.com> In-Reply-To: <7FA4F9E5512F214C801E596ECD8790E066A8587B@ETNAMAIL01.embarcadero.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.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 06/12/2014 10:29 PM, Walter Couto wrote: > I think the idea of the original function is good where for known > types we have our answers without a query. But I agree that we need > some sort of query and a hash map to store types we don't know > about. > > So the fix is probably to add the known types we know are missing > right now and then also add a code that takes the OID of the type we > did not know about and finds the info via query and caches the > results. (maybe that would be two patches to isolate the changes) Yeah, sounds reasonable. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc