Re: Skip .DS_Store files in check_mode_recursive

From: Andrei Lepikhov <lepihov(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: dgustafsson(at)postgresql(dot)org, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: Skip .DS_Store files in check_mode_recursive
Date: 2026-07-28 13:37:27
Message-ID: 7797ee73-c7b6-43ed-bc6a-55fd4f35e793@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 28/07/2026 21:56, Andrew Dunstan wrote:
>
> On 2026-07-28 Tu 4:53 AM, Andrei Lepikhov wrote:
> I don't think you need to say
>
>     return if basename($File::Find::name) eq '.DS_Store';
>
> you can just say
>
>     return if $_ eq '.DS_Store';
Thank you, done.

I implemented it this way for consistency and to be independent of the value of
the 'no_chdir' option.

--
regards, Andrei Lepikhov,
pgEdge

Attachment Content-Type Size
v1-0001-Skip-.DS_Store-files-in-check_mode_recursive.patch text/plain 3.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2026-07-28 13:42:58 Race between pg_dump and ALTER SEQUENCE can cause read failure
Previous Message Tomas Vondra 2026-07-28 13:32:17 Re: hashjoins vs. Bloom filters (yet again)