On 05.02.26 07:51, zengman wrote:
```
if (fstat(fd, &statbuf) < 0)
- pg_fatal("could not open file \"%s\" for reading: %m",
+ pg_fatal("could not stat file \"%s\" for reading: %m",
fullpath);
```
It doesn't make sense to "stat a file for reading". The changed message should probably just be
> + pg_fatal("could not stat file \"%s\": %m",
> fullpath);
