Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wz3AL-0005V2-6r for pgsql-odbc@arkaria.postgresql.org; Mon, 23 Jun 2014 12:16:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wz3AK-0000cm-Gj for pgsql-odbc@arkaria.postgresql.org; Mon, 23 Jun 2014 12:16:04 +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 1Wz3AJ-0000ab-0N for pgsql-odbc@postgresql.org; Mon, 23 Jun 2014 12:16:03 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wz3AF-0002QR-Cr for pgsql-odbc@postgresql.org; Mon, 23 Jun 2014 12:16:01 +0000 Received: from ayaki.localdomain (106-69-183-211.dyn.iinet.net.au [106.69.183.211]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0MUo3w-1XBELQ1bGG-00YDb7; Mon, 23 Jun 2014 14:15:57 +0200 Message-ID: <53A81A78.6030409@2ndquadrant.com> Date: Mon, 23 Jun 2014 20:15:52 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Jan-Peter Seifert , pgsql-odbc@postgresql.org Subject: Re: Crash when using 'Use Declare/Fetch' and the result set does contain one row only References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:mf/TK7MyxchaU6yeHPtZf8KA6eH0f/kWmDMLB8HTmhu hZ24Db4OevDcjXYv0xpcupWcGipwC9dKidy1QYC1+UVBoCUw8X 8wm1rylOAHH4pXbMxFFh7IsClpV3jlY/aZuHGYDCVeIs0dCBBh reG+8mtWgNY2nrXp9dlTxDoM/jFyIomVQv8JuyDnvBvE0sKrsG TouRvCFR+oFdgZZ7y0bDLEhmTGHa4qi4bQmJ4fGIoQQJeagloj EevR2KT10K42nL2F82zW1LmAD6DcEcgzNSqQuY2SDxiGnZo+hF q2Uq+DLD2kk89B6fO+ZtkCnTcfh18QTq1eErMQJaXOS3EGsPcn s8fXzeViIQV8LcbtwMjoLSU6xBWbATY67bJYqItGe X-Pg-Spam-Score: -1.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 06/23/2014 07:58 PM, Jan-Peter Seifert wrote: > Hello, > > Recently we switched from using plain SQL for transaction handling to the corresponding ODBC functions. Now the application crashes if 'Use Declare/Fetch' is checked in the ODBC DSN. Not everytime but when the result set does contain one row only. The course of action leading to the crash is: > Any chance of a self-contained, compileable example that demonstrates this? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc