Re: The ability of postgres to determine loss of files of the main fork

Aleksander Alekseev <aleksander@tigerdata.com>

From: Aleksander Alekseev <aleksander@tigerdata.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>, Michael Banck <mbanck@gmx.net>, Tom Lane <tgl@sss.pgh.pa.us>, Frits Hoogland <frits.hoogland@gmail.com>
Date: 2025-10-01T11:45:59Z
Lists: pgsql-hackers
Hi Jakub,

> IMHO all files should be opened at least on startup to check integrity,

That might be a lot of files to open. Even if you can open a file it
doesn't mean it's not empty or is not corrupted.

-- 
Best regards,
Aleksander Alekseev