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 1vumv1-006VJn-19 for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Feb 2026 07:33:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vumv0-00HaEJ-0r for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Feb 2026 07:33:18 +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 1vumuz-00HaEB-3B for pgsql-bugs@lists.postgresql.org; Tue, 24 Feb 2026 07:33:18 +0000 Received: from forward103d.mail.yandex.net ([178.154.239.214]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vumuu-00000000vO7-0GI7 for pgsql-bugs@lists.postgresql.org; Tue, 24 Feb 2026 07:33:16 +0000 Received: from mail-nwsmtp-mxback-production-main-84.iva.yp-c.yandex.net (mail-nwsmtp-mxback-production-main-84.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:119a:0:640:93f7:0]) by forward103d.mail.yandex.net (Yandex) with ESMTPS id 7F69BC46F7; Tue, 24 Feb 2026 10:33:08 +0300 (MSK) Received: from mail.yandex.ru (2a02:6b8:c0c:3c8b:0:640:89b0:0 [2a02:6b8:c0c:3c8b:0:640:89b0:0]) by mail-nwsmtp-mxback-production-main-84.iva.yp-c.yandex.net (mxback/Yandex) with HTTPS id 2XaV0b1oZ8c0-kGgOrYDS; Tue, 24 Feb 2026 10:33:07 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zsrv.org; s=mail; t=1771918387; bh=UmNDaG7SAyyoElFH084oZohG8YWfW82NWGhDbLkNED8=; h=Message-Id:References:Date:Cc:Subject:In-Reply-To:To:From; b=WVakBp2wnqvi1OL8XFOMii6lqPQXs3SCQIWOOv9D/t+ERTGzkUvoMJ6umH6p/SytC jlP8bHPQjlGUujf9PlGF4QoH1Cz+wRr5cvvtXBfliJJgngAOhJ8Acz37rJnsUuMT1q FxVmyOUeAk4Mgi/5UgJTe5oelni0KhQ7fnuu2eYU= Authentication-Results: mail-nwsmtp-mxback-production-main-84.iva.yp-c.yandex.net; dkim=pass header.i=@zsrv.org Received: by mail-sendbernar-production-main-78.iva.yp-c.yandex.net (sendbernar/Yandex) with HTTPS id cbb875d87af45070594461c05cdb66bd; Tue, 24 Feb 2026 10:33:07 +0300 From: Sergei Kornilov To: Fujii Masao Cc: =?utf-8?B?0J7Qu9C10LMg0KHQsNC80L7QudC70L7Qsg==?= , pgsql-bugs@lists.postgresql.org, =?utf-8?B?w4FsdmFybyBIZXJyZXJh?= , Nathan Bossart In-Reply-To: References: <202601301728.sfkizrto3t5i@alvherre.pgsql> <9b9341b0-942e-4d34-b94f-92bd918fad04@ya.ru> <1317421770387925@cea5cfd9-50d3-4d85-a924-a7cc75f8f215> Subject: Re: basic_archive lost archive_directory MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 24 Feb 2026 10:33:07 +0300 Message-Id: <5234821771918387@77e1e142-da70-4850-bfce-1a67e6fd1d40> Content-Transfer-Encoding: 7bit Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Honestly, I don't think that only 8 stat calls per each 1Gbps of WAL writes is too much. I doubt basic_archive will be used in systems where there's a lot of writing. Although there is little benefit from this stat call, I agree. > That said, if users are generally fine with the "could not create file" error, > I'm ok with the proposed patch (i.e., just removing the check). I'm ok with this error message. regards, Sergei