Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Date
Msg-id ZECELdGIt2xGSWte@paquier.xyz
Whole thread Raw
In response to Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
List pgsql-bugs
On Wed, Apr 19, 2023 at 02:15:51PM -0400, Tom Lane wrote:
> Yeah.  I wonder if we ought to do something more general, and
> ignore all files whose names start with ".".

Indeed.  I don't see any point is adding hidden files for the
checksum, rewind and base backup lists, so we could just make it a
hardcoded rule.  That's currently what we do for configuration files
when using include_dir for postgresql.conf (as well as hba and ident
files in 16~).
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Assert failure with ICU support
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: BUG #17903: There is a bug in the KeepLogSeg()