]> granicus.if.org Git - postgresql/commitdiff
Improve error message for incorrect number inputs in libecpg.
authorMichael Meskes <meskes@postgresql.org>
Fri, 3 Nov 2017 10:14:30 +0000 (11:14 +0100)
committerMichael Meskes <meskes@postgresql.org>
Fri, 3 Nov 2017 11:41:39 +0000 (12:41 +0100)
src/interfaces/ecpg/ecpglib/data.c

index b866b1ab5a99d8f1dbae0ae9f6ed3495c02d0add..090d60277f3d35c1f2f0acd827ce27499b7bf8a7 100644 (file)
@@ -58,7 +58,6 @@ garbage_left(enum ARRAY_TYPE isarray, char **scan_length, enum COMPAT_MODE compa
                        do {
                                (*scan_length)++;
                        } while (isdigit(**scan_length));
-                       return false;
                }
 
                if (**scan_length != ' ' && **scan_length != '\0')