Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VA15A-0004K5-KY for pgsql-odbc@arkaria.postgresql.org; Thu, 15 Aug 2013 17:11:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VA15A-00027I-0l for pgsql-odbc@arkaria.postgresql.org; Thu, 15 Aug 2013 17:11:32 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VA159-00027C-F4 for pgsql-odbc@postgresql.org; Thu, 15 Aug 2013 17:11:31 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VA156-0001On-Ul for pgsql-odbc@postgresql.org; Thu, 15 Aug 2013 17:11:30 +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 5388629B8D; Thu, 15 Aug 2013 10:11:28 -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 4FD19B03B9; Thu, 15 Aug 2013 10:11:28 -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 13756120034; Thu, 15 Aug 2013 10:18:10 -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, 15 Aug 2013 10:18:09 -0700 (PDT) Message-ID: <520D0BBD.7060700@vmware.com> Date: Thu, 15 Aug 2013 20:11:25 +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: Michael Paquier CC: PostgreSQL mailing lists Subject: Re: About FetchBufferSize and row caching for postgres odbc References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.8 (-------) 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 14.08.2013 08:26, Michael Paquier wrote: > I got a couple of questions about the use of FetchBufferSize (one of > the settings of odbc.ini) and row caching in pgodbc. > > Depending on the driver used with ODBC, sometimes FetchBufferSize > means the maximum number of rows, or a maximum size of data that can > be kept on cache on client side. Which definition of FetchBufferSize > does pgodbc use? I assume the max number of rows... But I couldn't > figure out which one it is even by looking at the pgodbc documentation > like the one on pgfoundry psqlodbc doesn't have a parameter called "FetchBufferSize". Setting that in odbc.ini will therefore have no effect. There is a parameter called "Fetch", which sets the number of rows to fetch. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc