From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | lthompson(at)alteryx(dot)com, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
Cc: | Pg Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: [BUGS] BUG #13536: SQLParamData thows "Invalid Endian" error |
Date: | 2015-08-04 07:16:55 |
Message-ID: | 55C066E7.1090208@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-odbc |
(Moving to the pgsql-odbc mailing list)
On 08/03/2015 09:23 PM, lthompson(at)alteryx(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 13536
> Logged by: Linda Thompson
> Email address: lthompson(at)alteryx(dot)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"
The text "Invalid Endian" doesn't appear anywhere in the psqlODBC source
code, so that must be coming from somewhere else. Could be because of
something that psqlODBC did, but it's difficult to trace without more
details. Could you write a self-contained little C program to reproduce
this, please?
- Heikki
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Mächler | 2015-08-04 13:49:02 | Re: BUG #13538: REGEX non-greedy is working incorrectly (and also greedy matches fail if non-greedy is present) |
Previous Message | David G. Johnston | 2015-08-04 05:50:06 | Re: BUG #13538: REGEX non-greedy is working incorrectly (and also greedy matches fail if non-greedy is present) |
From | Date | Subject | |
---|---|---|---|
Next Message | Vilches, Alejandro | 2015-08-05 00:04:57 | Re: odbc vs. libpq performance |
Previous Message | lthompson | 2015-08-03 18:23:38 | BUG #13536: SQLParamData thows "Invalid Endian" error |