OpenInformix / IfxPy

Informix native Python driver for scalable enterprise and IoT solutions.
Other
46 stars 22 forks source link

Fixed character columns (char) trailing spaces #64

Open johannes281 opened 2 years ago

johannes281 commented 2 years ago

Hi,

we have a problem using IfxPy with trailing spaces and char fields.

If we select a char(5) field which contains 3 characters, we get trailing spaces in the result. Like #abc # instead of #abc#.

We have tested it with IfxPy and IfxPyDbi. Both the same result.

Is it possible to integrate the variable IFX_TRIMTRAILINGSPACES=1 to IfxPy similar to jdbc implementation?

Thanks!