Value changed from Integer to Double - Mailing list pgsql-odbc

From Karl Aschbacher
Subject Value changed from Integer to Double
Date
Msg-id CAADAuhBevN0+8fzUpg7j9R6H+dvis0E0nYg2MzPQooEkDyfx_g@mail.gmail.com
Whole thread Raw
Responses RE: Value changed from Integer to Double
List pgsql-odbc
Dear all,

we are facing a problem that is maybe related to the postgres-odbc driver.
We use Oracle Analytics Server via ODBC to talk to a postgres Database (V15)
It appears that integers with more than 10 digits get converted to doubles when the statment is being sent to the database.
So for example: "where id =  32857641330" will be converted to "where did = 3285764133.0 "

So my question is - does the driver play any role when preparing the statement?
(Like providing the PG Type ?)
In case it does, would anyone have a suggestion where to look for the potential issue?

many thanks
best regards
Karl

pgsql-odbc by date:

Previous
From: "Rice, Daniel"
Date:
Subject: RE: ODBC MSI flagged as 'suspicious'
Next
From: "Wal, Jan Tjalling van der"
Date:
Subject: RE: Value changed from Integer to Double