Value changed from Integer to Double

Поиск
Список
Период
Сортировка
От Karl Aschbacher
Тема Value changed from Integer to Double
Дата
Msg-id CAADAuhBevN0+8fzUpg7j9R6H+dvis0E0nYg2MzPQooEkDyfx_g@mail.gmail.com
обсуждение исходный текст
Ответы RE: Value changed from Integer to Double  ("Wal, Jan Tjalling van der" <jan_tjalling.vanderwal@wur.nl>)
Список 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 по дате отправления:

Предыдущее
От: "Rice, Daniel"
Дата:
Сообщение: RE: ODBC MSI flagged as 'suspicious'
Следующее
От: "Wal, Jan Tjalling van der"
Дата:
Сообщение: RE: Value changed from Integer to Double