]> 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:23 +0000 (12:41 +0100)
src/interfaces/ecpg/ecpglib/data.c

index 3d83c2430c15ed173824561d34e57f038645fde2..d486bb9c292235eee18e0fb608c2c46cc770d663 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')