Re: Fwd: Re: A new look at old NFS readdir() problems?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: David Steele <david@pgbackrest.org>, Thomas Munro <thomas.munro@gmail.com>, Greg Sabino Mullane <htamfids@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Larry Rosenman <ler@lerctr.org>, Pgsql hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-01-08T20:21:27Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Will people now always get a clear error on failure?  Crazy idea, but
> could we have initdb or postmaster start test this? 

It'd require adding quite a lot of cycles: I'd guess you'd need to
create/drop a hundred or a thousand files to be sure of seeing the
problem.

Another problem is that even if the primary data directory is okay,
a tablespace could be created on a filesystem that's not okay.

I doubt that it's worth it.

			regards, tom lane