mirror of
https://github.com/postgres/postgres.git
synced 2026-02-15 00:33:54 -05:00
test_custom_stats: Fix compilation warning
I have fat-fingered an error message related to an offset while switching the code to use pgoff_t. Let's switch to the same error message used in the rest of the tree for similar failures with fseeko(), instead. Per buildfarm members running macos: longfin, sifaka and indri.
This commit is contained in:
parent
171198ff2a
commit
33980eaa6d
1 changed files with 2 additions and 1 deletions
|
|
@ -331,7 +331,8 @@ test_custom_stats_var_from_serialized_data(const PgStat_HashKey *key,
|
|||
/* Read data from the secondary statistics file, at the specified offset */
|
||||
if (fseeko(fd_description, offset, SEEK_SET) != 0)
|
||||
{
|
||||
elog(WARNING, "failed to seek to offset %ld in description file", offset);
|
||||
elog(WARNING, "could not seek in file \"%s\": %m",
|
||||
TEST_CUSTOM_AUX_DATA_DESC);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue