pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: lthompson@alteryx.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13536: SQLParamData thows "Invalid Endian" error
Date: Mon, 03 Aug 2015 18:23:38 +0000
Message-ID: <20150803182338.1044.84028@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (2+ messages)  latest in thread

Message-ID: <20150803182338.1044.84028@wrigleys.postgresql.org>
Permalink:  ../20150803182338.1044.84028@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150803182338.1044.84028@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: lthompson@alteryx.com, pgsql-bugs@postgresql.org
  Subject: Re: BUG #13536: SQLParamData thows "Invalid Endian" error
  In-Reply-To: <20150803182338.1044.84028@wrigleys.postgresql.org>
  References: <20150803182338.1044.84028@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox