Re: Proposal: Allow excluding specific file patterns in pg_checksums

Greg Sabino Mullane <htamfids@gmail.com>

From: Greg Sabino Mullane <htamfids@gmail.com>
To: XYenon <i@xyenon.bid>
Cc: pgsql-hackers@postgresql.org, kou@clear-code.com
Date: 2025-10-23T14:39:21Z
Lists: pgsql-hackers
Putting files inside base/ is just a bad idea. Even if you handle
pg_checksums and pg_basebackup, external tools like pgbackrest will have
issues as well. I think better solutions are one of:

* Store these non-Postgres files somewhere else. Can still be in the data
directory
* Make sure the files have valid checksums

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support