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.94.2) (envelope-from ) id 1rp3tY-004r4M-3l for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Mar 2024 10:19:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rp3tW-00DP9L-Av for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Mar 2024 10:19:02 +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.94.2) (envelope-from ) id 1rp3tW-00DP96-1V for pgsql-hackers@lists.postgresql.org; Tue, 26 Mar 2024 10:19:02 +0000 Received: from fhigh4-smtp.messagingengine.com ([103.168.172.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rp3tS-006VrQ-Rg; Tue, 26 Mar 2024 10:19:01 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 52724114014A; Tue, 26 Mar 2024 06:18:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 26 Mar 2024 06:18:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1711448339; x=1711534739; bh=9wN5p7DELOReFTLL+YnHghVIkNDtm/jw FvofEq1VPTg=; b=jXxQ4sVmv6LMn8IZ5b21q6PYTUX57a/GQ1QJuP/Xht+D/O9r H1mxeDaQsi4b4SGEjApRyGoofVxBt/NYjsHzRWQPaJep1dgTzlb4mythnhfgUXMo VEPoL1UKaXyff51iI6a7jUa6Oz/5fFgKq8DiV7HW5I1wdHRhKvhgB0z5wg8hvtcM q3W0bOzcslFNK//qCXEuiW6qretiR8inF50K+jhclTczRVOqNzVAXY2upDHClI7H Z6kcdwHt7WMsqU9BHjimqBDDo3QN1D9yN7rzwb7Ip9PZ64HprNkNhFwkgzYC6OpQ xzFSwVnW1RN4/Bwmt9/S6yS5rLIBOizpoNZ5Hg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711448339; x= 1711534739; bh=9wN5p7DELOReFTLL+YnHghVIkNDtm/jwFvofEq1VPTg=; b=u pm3Ul1BH4V/Z7S0fxmcIr8x9D3Uq48lfUY5UB0mycS+VDMizSrv4f+Aryo7uXyU+ bdWX4iv1tyQMTdrmq3T+SiK088BH658znBaYsWx+hw8yd6IsJvtPSyMWRlujwEJf jhrIfcdeTTYIJ29wF5U8BJS19Ch4ZozxgnZgJSOaGw+4zX0OqXBmAGLeuZD93mV7 fzqzm3f0r3wt/WKOXRR7sgMmEhNhaghVmbeJc8qW/0FYLsG93NtSo/Q0sRSVfB0o bBi1j7kZdsw569AVcX442j+FdRV1xzp6ChMDEjrJwWmVqN+hvl2eF6AxRJrrknvZ FtVTMoKzuXBrZQVH5Yd9g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddufedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepteffveelfeeltddvjeegtdefjefgleefledvffefjedu jeevheeigffgjefggfegnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghr segvihhsvghnthhrrghuthdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Mar 2024 06:18:58 -0400 (EDT) Message-ID: Date: Tue, 26 Mar 2024 11:18:57 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Allow using syncfs() in frontend utilities. To: Robert Haas , Nathan Bossart Cc: "pgsql-hackers@postgresql.org" References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 22.03.24 17:52, Robert Haas wrote: > On Wed, Sep 6, 2023 at 7:28 PM Nathan Bossart wrote: >> Allow using syncfs() in frontend utilities. >> >> This commit allows specifying a --sync-method in several frontend >> utilities that must synchronize many files to disk (initdb, >> pg_basebackup, pg_checksums, pg_dump, pg_rewind, and pg_upgrade). >> On Linux, users can specify "syncfs" to synchronize the relevant >> file systems instead of calling fsync() for every single file. In >> many cases, using syncfs() is much faster. >> >> As with recovery_init_sync_method, this new option comes with some >> caveats. The descriptions of these caveats have been moved to a >> new appendix section in the documentation. > > Hi, > > I'd like to complain about this commit's addition of a new appendix. I already complained about that at and some follow-up was announced but didn't happen. It was on my list to look into cleaning up during beta.