mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Improve error message for incorrect number inputs in libecpg.
This commit is contained in:
@ -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')
|
||||||
|
Reference in New Issue
Block a user