]> git.ipfire.org Git - thirdparty/postgresql.git/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:40:42 +0000 (12:40 +0100)
src/interfaces/ecpg/ecpglib/data.c

index 4c9cdccdc0aeab979037be3fc0342db6993d3c31..d33c19a59b142c373f72c77b317173090d9552a0 100644 (file)
@@ -60,7 +60,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')