Open matheusgmaia opened 3 years ago
There are some issues with BIGINT and BIGSERIAL within the Informix ODBC driver (which is what the Python module uses). I know is not ideal but it should work if you cast the BIGSERIAL column to INT8. Somelike like: select sqitem.sqitemnfe::int8, sqitem.dsproducto .........
Worked!!
There is any overflow risk?
Thanks a lot
Not that I'm aware, if any INT8 is bigger than BIGINT (10 bytes vs 8 bytes) but only regarding storage, and you are not changing that.
BIGSERIAL and BIGINT are define as SQL_INFX_BIGINT。 You can define SQL_INFX_BIGINT at ifxpyc.c like SQL_BIGINT (int8/serial8).
Hello, I'm having a problem fetching some data from a column with type bigserial. It always returns None. This specific type is not supported? The same query returns me information with SQuirreL.
Thanks in advance