Re: Proposal: Allow excluding specific file patterns in pg_checksums

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: XYenon <i(at)xyenon(dot)bid>
Cc: pgsql-hackers(at)postgresql(dot)org, kou(at)clear-code(dot)com
Subject: Re: Proposal: Allow excluding specific file patterns in pg_checksums
Date: 2025-10-23 14:39:21
Message-ID: CAKAnmm+on_JBEjRu=npXwtE47wAsk9ZUYnN=07TH5KEwp6+2Gw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-10-23 14:41:10 Re: Git clone over git protocol fails
Previous Message Daniel Gustafsson 2025-10-23 14:27:11 Re: CI: Add task that runs pgindent