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

From: Tobias Bussmann <t(dot)bussmann(at)gmx(dot)net>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 09:51:59
Message-ID: CDA8E1B5-C146-4954-867A-AF5A4B9E9C43@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


> Am 20.04.2023 um 10:50 schrieb Daniel Gustafsson <daniel(at)yesql(dot)se>:
>
> Skimming other callsites of ReadDir and readdir I didn't see any others
> which could benefit from skipping hidden files.

Could /src/bin/pg_rewind/filemap.c be another candidate for skipping hidden files? The 'copy all other files'-behaviour seems to be similar to what pg_basebackup does and it uses the same exclude_list_item blacklist mechanism.

--
Tobias Bussmann

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Lakhin 2023-04-20 10:00:00 Re: BUG #17798: Incorrect memory access occurs when using BEFORE ROW UPDATE trigger
Previous Message Kyotaro Horiguchi 2023-04-20 08:58:14 Re: BUG #17903: There is a bug in the KeepLogSeg()