From: Peter Eisentraut Date: Wed, 27 May 2026 15:12:27 +0000 (+0200) Subject: Use strtoi64 instead of strtoll X-Git-Tag: REL_19_BETA1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee31868a535d1fbe0ddbb698c9c947a2067c2b6f;p=thirdparty%2Fpostgresql.git Use strtoi64 instead of strtoll This is mostly for notational consistency, since the result is stored in a variable of type int64. --- diff --git a/contrib/pg_stash_advice/stashpersist.c b/contrib/pg_stash_advice/stashpersist.c index 00a0a74f04d..008f8d25b48 100644 --- a/contrib/pg_stash_advice/stashpersist.c +++ b/contrib/pg_stash_advice/stashpersist.c @@ -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,