Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson2024-03-25 13:18:36 +0000
committerDaniel Gustafsson2024-03-25 13:18:36 +0000
commitb2d6b4c728a282f9bbe9ff4fac02a872bef074dd (patch)
tree8c4c46e812ae82d50d4d32286c8cdcfcdefa699f /src/backend/commands/constraint.c
parent64e401b62b1559d617db5c1e1070d7a05e794c27 (diff)
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
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions