Re: could not extend file "base/5/3501" with FileFallocate(): Interrupted system call

Christoph Berg <myon@debian.org>

From: Christoph Berg <myon@debian.org>
To: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2023-05-23T14:25:59Z
Lists: pgsql-hackers
Re: Andres Freund
> A prototype of that approach is attached. I pushed the retry handling into the
> pg_* routines where applicable.  I guess we could add pg_* routines for
> FileFallocate(), FilePrewarm() etc as well, but I didn't do that here.
> 
> Christoph, could you verify this fixes your issue?

Hi,

I believe this issue is still open for PG16.

Christoph



Commits

  1. fd.c: Retry after EINTR in more places

  2. Add smgrzeroextend(), FileZero(), FileFallocate()