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 1x1Kem-0057eb-0Q for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Sep 2026 09:19:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x1Kel-005Up0-0T for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Sep 2026 09:19:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x1Kek-005Uop-2p for pgsql-hackers@lists.postgresql.org; Tue, 01 Sep 2026 09:19:50 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x1Kei-00000002LXd-2j4h for pgsql-hackers@lists.postgresql.org; Tue, 01 Sep 2026 09:19:50 +0000 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-490cf322ed0so53558015e9.1 for ; Tue, 01 Sep 2026 02:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788254387; x=1788859187; darn=lists.postgresql.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=a7bBwZNJ0A17iJzd4SASVCDeNWog4E8HyKDv2Ky6E1A=; b=iq2iZYm1gsU+cS0CLkxT722RG4AZUxOfrmG7QDyYmzhOBQiyrCXTIZ6vJFlhp/MTCq +upSM+qTnnAhxCTdQWAPNcdh3uQ3+3Qztlu/GlgSkQuKhhXxaHDaQuKdOKZm4SjsoDgD 2ieLB1sIRHfAPeiobZLZ1+/w6jO3wMT/6bYmK3Bx5QOwGXirf9w1CFX/4+b1hQog4op4 80KRKd0sX01zrmKNRah550vtv8m0EuXoWeCUn7HUmEY1Y70hXEMchji44eCXPc1Rqm/x vOT2sdD3I/W6cRHA/fZ7qESXy/viqB5Z73+oChOctUOAhe0SuAg3rYyqd5a4Ig5hbUAH cvGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788254387; x=1788859187; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=a7bBwZNJ0A17iJzd4SASVCDeNWog4E8HyKDv2Ky6E1A=; b=YIrizXXoRa9OJzrS4r7chyBlBTMBlvOysajVEq9uCOptWgDr8m5ftXMa9TCARcPht6 KN1TYwLUHfvjwC9/jh+PYwRadXpS7Go6RhXpdwu5bexf7Iwt51W1yl2Nb2XBr8JMlOwX n/xx2PmF7PPU/IlzTKVAhIoOUPCx2BkDN964HihPmkcOSDEMM+U/gnTa0caOX5nfFSBE FhOWT19T+Z1mraS4eZZghE//fLcOPDvMXm74xhC4eSDSfg9BuLjxZB5NZ8I7uUoFfatB rkIotPNR0qydzuNgYDWpSaQQ8IC2X07KB8mcP6E+jI2YGy2sOPnwWA3mC0Qws/lGmyKl 39Gg== X-Gm-Message-State: AFuF++m9P1/OgbTRYaFNUH8eczxzDRDSLI3ih55UttUlh62FkUb1TP69 swH9ntBuEbma21lfWhanTe2lO8Iz1ZqiWw5BJDTNXWNmttiFa+8PYudo X-Gm-Gg: AR+sD11NnrnD2Arc+tNw6R9NbEBZ/VpFmuf1gXbvajt+X7varjp1RkTaRx4WFkICO8g 615OUCNvKyK+Igpa4x5rv54A3KG6vA2+ESk22VMaRWWkcEWaKHv4Ie/QuT+j/PHA2MGrs0oq2jR N63B6P5JnGTLYAD78g1Y8JAA8Ntfr6bcbI0Q6+KQ43+r+1/sAWAfEy7Vryqbw/dJuHAd7gD27le j1BxE8GuoDmoC/rABYLoZZ1rHOH0JosGbxXUVlaKe330MlIuUowJ4biAT4tMKI1X1kNem3ggi9w F4rOm7HbDRV396Lh9ZP0LSLC8/ybQpkek8VcPFDckngsjZAmr4RyHFjD92ucV2BYOKW1MqOIKRm s08iqILHQKjHOJxtyyzoFJ6Oqi/9pYoapkpczIJZ9EnXq5sDrHk4N1QorEa+Vg7EUodSXeM4cl6 ZaPU6XJVIBUFNnDfCV7BaeEITrrx/wBHKI+WZdmgRtjcKiOsdjI5hgOXuQp6Zrv9zFjHqM10rWN Pg= X-Received: by 2002:a05:600c:c490:b0:499:726a:a017 with SMTP id 5b1f17b1804b1-49b91c17294mr503571535e9.1.1788254387120; Tue, 01 Sep 2026 02:19:47 -0700 (PDT) Received: from [192.168.15.240] ([80.251.191.198]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49cdce0b456sm61953105e9.2.2026.09.01.02.19.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Sep 2026 02:19:46 -0700 (PDT) Message-ID: <2e3555b2-8f95-4235-b02b-55060010dc5a@gmail.com> Date: Tue, 1 Sep 2026 11:19:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Skip .DS_Store files in check_mode_recursive To: Daniel Gustafsson , Andrew Dunstan Cc: pgsql-hackers , Michael Paquier References: <707c55fd-86fc-47ce-875d-3409fd70a16f@dunslane.net> <277F140E-9DB1-4679-B821-0D9AF9CFFFD8@postgresql.org> Content-Language: en-US From: Andrei Lepikhov In-Reply-To: <277F140E-9DB1-4679-B821-0D9AF9CFFFD8@postgresql.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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: > >>> 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? -- regards, Andrei Lepikhov, pgEdge