pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: Andrei Lepikhov <lepihov@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Subject: Re: Skip .DS_Store files in check_mode_recursive
Date: Tue, 1 Sep 2026 11:22:05 +0200
Message-ID: <28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org> (raw)
In-Reply-To: <2e3555b2-8f95-4235-b02b-55060010dc5a@gmail.com>
References: <fd55caa3-0a29-4724-afcb-2e7fd4231514@gmail.com>
	<707c55fd-86fc-47ce-875d-3409fd70a16f@dunslane.net>
	<277F140E-9DB1-4679-B821-0D9AF9CFFFD8@postgresql.org>
	<2e3555b2-8f95-4235-b02b-55060010dc5a@gmail.com>

> On 1 Sep 2026, at 11:19, Andrei Lepikhov <lepihov@gmail.com> wrote:
> 
> On 28/07/2026 15:21, Daniel Gustafsson wrote:
>>> On 28 Jul 2026, at 13:56, Andrew Dunstan <andrew@dunslane.net> wrote:
>>> On 2026-07-28 Tu 4:53 AM, Andrei Lepikhov wrote:
>> 
>>>> I am repeatedly encountering an annoying failing test during 'make check-world'
>>>> execution on the macOS platform: pg_resetwal with the result:
>>>> 
>>>> Failed test 'check PGDATA permissions'
>>>> 
>>>> It happens because a filesystem object .DS_Store exists in the directory.
>>>> AFAIK, MacOS manages it on its own. Given that I almost never touch this module,
>>>> it seems the OS handles it automatically.
>>>> 
>>>> A quick dive into the mailing list history shows that this problem has been
>>>> discovered [1] and partly fixed [2] before.
>>>> 
>>>> It looks like this approach might be extended to TAP tests too. In the
>>>> attachment, see the sketch of the code and a minor test to prove that it works.
>> 
>> Off the cuff, seems reasonable.
> 
> Quick reminder: it still fails the ‘make check-world’ pass. Has it been
> rejected, or should I add something else to the patch?

Sorry for the delay.  Things are just a bit slow at the moment due to everyone
being very busy with preparing 19 for GA.  I'll try to get to it soon.

--
Daniel Gustafsson







view thread (6+ messages)

Message-ID: <28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org>
Permalink:  ../28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org/
Also on:    postgresql.org/message-id/28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: dgustafsson@postgresql.org, lepihov@gmail.com, andrew@dunslane.net, michael@paquier.xyz
  Subject: Re: Skip .DS_Store files in check_mode_recursive
  In-Reply-To: <28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org>
  References: <fd55caa3-0a29-4724-afcb-2e7fd4231514@gmail.com> <707c55fd-86fc-47ce-875d-3409fd70a16f@dunslane.net> <277F140E-9DB1-4679-B821-0D9AF9CFFFD8@postgresql.org> <2e3555b2-8f95-4235-b02b-55060010dc5a@gmail.com> <28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox