Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMKPC-0003b0-Ih for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Aug 2015 18:24:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZMKPC-0003af-3h for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Aug 2015 18:24:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZMKPA-0003aF-BP for pgsql-bugs@postgresql.org; Mon, 03 Aug 2015 18:24:08 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZMKP6-0006NE-38 for pgsql-bugs@postgresql.org; Mon, 03 Aug 2015 18:24:06 +0000 MIME-Version: 1.0 Subject: BUG #13536: SQLParamData thows "Invalid Endian" error To: pgsql-bugs@postgresql.org From: lthompson@alteryx.com Date: Mon, 03 Aug 2015 18:23:38 +0000 Message-ID: <20150803182338.1044.84028@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13536 Logged by: Linda Thompson Email address: lthompson@alteryx.com PostgreSQL version: 9.4.1 Operating system: windows Description: With the 9.2 ODBC driver and many previous versions my SQLParamData worked just fine. When we went to 9.3.3 and 9.3.4 ODBC Drivers, we can no longer add Spatial objects. The second call to SQLParamData to add the next Spatial object throws an error "Invalid Endian". However if we do 1 spatial object at a time, we can add the exact same object with the exact same code. I believe there is a bug somewhere in the new ODBC driver throwing the wrong error code. IT should just be returning SQL_NEED_DATA or "done" -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs