Use strtoi64 instead of strtoll

This is mostly for notational consistency, since the result is stored
in a variable of type int64.
This commit is contained in:
Peter Eisentraut 2026-05-27 17:12:27 +02:00
parent c71b94f033
commit ee31868a53

View file

@ -432,7 +432,7 @@ pgsa_read_from_disk(void)
/* Parse the query ID. */
errno = 0;
queryId = strtoll(queryid_str, &endptr, 10);
queryId = strtoi64(queryid_str, &endptr, 10);
if (*endptr != '\0' || errno != 0 || queryid_str == endptr ||
queryId == 0)
ereport(ERROR,