Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net>, Mark Guertin <markguertin(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Date: 2023-04-20 00:15:41
Message-ID: ZECELdGIt2xGSWte@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kyotaro Horiguchi 2023-04-20 03:04:17 Re: BUG #17903: There is a bug in the KeepLogSeg()
Previous Message Tom Lane 2023-04-19 20:45:48 Re: Assert failure with ICU support