mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Improve error message for incorrect number inputs in libecpg.
This commit is contained in:
parent
7a35507acc
commit
deb429b51e
@ -60,7 +60,6 @@ garbage_left(enum ARRAY_TYPE isarray, char **scan_length, enum COMPAT_MODE compa
|
|||||||
do {
|
do {
|
||||||
(*scan_length)++;
|
(*scan_length)++;
|
||||||
} while (isdigit(**scan_length));
|
} while (isdigit(**scan_length));
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (**scan_length != ' ' && **scan_length != '\0')
|
if (**scan_length != ' ' && **scan_length != '\0')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user