On Wed, Jan 8, 2025 at 03:21:27PM -0500, Tom Lane wrote:
> 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.
Oh, I thought if it could be recreated using just two files, it would be
worth it --- obviously not.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Do not let urgent matters crowd out time for investment in the future.