postgresql/src/interfaces/ecpg/compatlib
Daniel Gustafsson b2d6b4c728 ecpg: Fix return code for overflow in numeric conversion
The decimal conversion functions dectoint and dectolong are documented
to return ECPG_INFORMIX_NUM_OVERFLOW in case of overflows, but always
returned -1 on all errors due to incorrectly checking the returnvalue
from the PGTYPES* functions.

Author: Aidar Imamov <a.imamov@postgrespro.ru>
Discussion: https://postgr.es/m/54d2b53327516d9454daa5fb2f893bdc@postgrespro.ru
2024-03-25 14:18:36 +01:00
..
.gitignore Build src/common files as a library with -fPIC. 2018-09-28 14:28:19 -04:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
exports.txt Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
informix.c ecpg: Fix return code for overflow in numeric conversion 2024-03-25 14:18:36 +01:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00