Re: Skip .DS_Store files in check_mode_recursive - Mailing list pgsql-hackers

From Andrei Lepikhov
Subject Re: Skip .DS_Store files in check_mode_recursive
Date
Msg-id 7797ee73-c7b6-43ed-bc6a-55fd4f35e793@gmail.com
Whole thread
List 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

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: hashjoins vs. Bloom filters (yet again)
Next
From: vignesh C
Date:
Subject: Race between pg_dump and ALTER SEQUENCE can cause read failure