Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jn7IP-0007Mq-Hc for pgsql-odbc@arkaria.postgresql.org; Sun, 21 Jun 2020 21:14:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jn7IO-0006YW-BH for pgsql-odbc@arkaria.postgresql.org; Sun, 21 Jun 2020 21:14:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jn7IO-0006YP-5O for pgsql-odbc@lists.postgresql.org; Sun, 21 Jun 2020 21:14:32 +0000 Received: from webclient5.webclient5.de ([136.243.32.184]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jn7IG-0008MK-Ke for pgsql-odbc@lists.postgresql.org; Sun, 21 Jun 2020 21:14:31 +0000 Received: from aquila.ladisch.de (unknown [46.114.39.176]) by webclient5.webclient5.de (Postfix) with ESMTPSA id E0FA46262D7C for ; Sun, 21 Jun 2020 23:14:22 +0200 (CEST) Subject: Re: Prefetching results To: pgsql-odbc@lists.postgresql.org References: From: Clemens Ladisch Message-ID: Date: Sun, 21 Jun 2020 23:15:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.101.5 at webclient5 X-Virus-Status: Clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk j.prochazka@rare-technologies.com wrote: > is there a way to use postgresql-odbc without prefetching statement results? You probably want to enable the "Use Declare/Fetch" option: https://odbc.postgresql.org/docs/config.html Regards, Clemens