Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x1KhE-0057g1-1W for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Sep 2026 09:22:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x1KhD-005Wqe-1H for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Sep 2026 09:22:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x1KhC-005WqW-2y for pgsql-hackers@lists.postgresql.org; Tue, 01 Sep 2026 09:22:23 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x1KhA-00000003RlS-3p2A for pgsql-hackers@lists.postgresql.org; Tue, 01 Sep 2026 09:22:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description; bh=vH2vySxtF6aaaPCJd2Qu0r0bRPm6aVDgqjgaH1pQvVU=; b=QLKcMbWKsEktcrkVbcQ3ICARjH 2eGQshPFfACnwiTtNmWM3oSXj02ziJGLC+s21LSkAI71DHu62BU3Z4vnaKTjoSZXIyo7rdiUc4ddi EWdvzcJEeCTEJnTHKEyEq96U0UibTUBViAVyqPrEsXkXT6i3XGfWOeojYS1eAdOPXU7RzCgaM9pOx YNqpL0dOFUQfPNkGGOOy5ABtwTU5424O41bAY+a8WY6+tlCPcm2ofvYbjAL7pqo/sR3yMbqvU2uv5 3pxyCDXUjKlpEJoivQx9Sz7DalrGf5kU0sORuMwIFaDT93kHzEP3HrMgNLds6YPOu5smuwmL5+B0e lzDoUQ4A==; Received: from customer-89-255-232-236.stosn.net ([89.255.232.236] helo=smtpclient.apple) by meldrar.postgresql.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x1Kh7-00000005NPS-2ymC; Tue, 01 Sep 2026 09:22:19 +0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.12\)) Subject: Re: Skip .DS_Store files in check_mode_recursive From: Daniel Gustafsson In-Reply-To: <2e3555b2-8f95-4235-b02b-55060010dc5a@gmail.com> Date: Tue, 1 Sep 2026 11:22:05 +0200 Cc: Andrew Dunstan , pgsql-hackers , Michael Paquier Content-Transfer-Encoding: quoted-printable Message-Id: <28435010-0003-4786-9A64-F8F378D0AED6@postgresql.org> References: <707c55fd-86fc-47ce-875d-3409fd70a16f@dunslane.net> <277F140E-9DB1-4679-B821-0D9AF9CFFFD8@postgresql.org> <2e3555b2-8f95-4235-b02b-55060010dc5a@gmail.com> To: Andrei Lepikhov X-Mailer: Apple Mail (2.3776.700.51.11.12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 1 Sep 2026, at 11:19, Andrei Lepikhov wrote: >=20 > On 28/07/2026 15:21, Daniel Gustafsson wrote: >>> On 28 Jul 2026, at 13:56, Andrew Dunstan = wrote: >>> On 2026-07-28 Tu 4:53 AM, Andrei Lepikhov wrote: >>=20 >>>> I am repeatedly encountering an annoying failing test during 'make = check-world' >>>> execution on the macOS platform: pg_resetwal with the result: >>>>=20 >>>> Failed test 'check PGDATA permissions' >>>>=20 >>>> 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. >>>>=20 >>>> A quick dive into the mailing list history shows that this problem = has been >>>> discovered [1] and partly fixed [2] before. >>>>=20 >>>> 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. >>=20 >> Off the cuff, seems reasonable. >=20 > Quick reminder: it still fails the =E2=80=98make check-world=E2=80=99 = 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