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 1sZPkd-000qaE-Gq for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2024 06:57:27 +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 1sZPkb-003znX-Sb for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2024 06:57:25 +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.94.2) (envelope-from ) id 1sZPkb-003zkc-Gv for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2024 06:57:25 +0000 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZPkZ-002Z8i-U1 for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2024 06:57:24 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A7BA3114AB21; Thu, 1 Aug 2024 02:57:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 01 Aug 2024 02:57:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=fm3; t=1722495442; x=1722581842; bh=qkrqWoVEwe 04lrPUR0g0inpWFunvzft/rCLrkWyZVkI=; b=nMIr75KW/G0mqqR3y0ix/R0PW7 nF1mQYCaRgP6Rzs20KeZDRi/INQKbN1Rs93/E4yQZfedJBTdDx3C4196j9Vr9Y7C VH/j6qTZcNYvQmKPgB1WIfimCFrVEHsktWDOOL4F4bzbLpjtbvQ0WUH9Qd2TSKpa iIfUlN9aJ1v5hT0oA1RFJxmunMgtjA3gTFrarWDs7/6wiXZKfJafKRGo76+r322r S90U2AQNrl/m/9h1/sHYAaPa5ueo87LyagruMKq4Hu4CUVLr84XcXN25jzVBZK1h jPMZOvJfqu081H+0RXIKqQy8iXcMyJ3obWiTgcfcwQ7+UIa9idZ78C+NQnMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= fm3; t=1722495442; x=1722581842; bh=qkrqWoVEwe04lrPUR0g0inpWFunv zft/rCLrkWyZVkI=; b=lhB2/eaRFDwKDkbT1SIv06Z5bu/cjB+3QUZVycJOOFyM KlKtTRAMh2xE8pUqWlxrNZJmBowbsZXBdbKRo8wb8+i7xcDcfTKsPC0wa2RIHHOx qs7dDGAUlGf7QKppLbut31ovon5YmpNEWC5MXzfbFfVCPXZQ5b1kVMAdpf5QHaRr NBlIAQGYO8XwvpsI/JnydX3omdJ1YiGOiSpLASUaJmAJgSlqjhe6GQGzfG4s7Wqq JSytZi/HZYGUqBsEaPJ9G5VtMjiHU88vfL/0PtgAcC0ddW7a45256ci5FxykZ1Fo cQtliCyBvm6mQRxcESP2qSNv+utPVqDegBH1T0ReYg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeejgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepveetjefgjeevgedukeehieeu ieeuieevueeiudegheevuefggfduueelgeelieetnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih iidpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 1 Aug 2024 02:57:20 -0400 (EDT) Date: Thu, 1 Aug 2024 15:57:17 +0900 From: Michael Paquier To: Alexander Korotkov Cc: Robert Haas , Nathan Bossart , Fujii Masao , Postgres hackers Subject: Re: Assertion failure with summarize_wal enabled during pg_createsubscriber Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+W3OCc/3PofDgFT5" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --+W3OCc/3PofDgFT5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 31, 2024 at 04:49:54PM +0300, Alexander Korotkov wrote: > On Mon, Jul 29, 2024 at 7:20=E2=80=AFPM Robert Haas wrote: >> I support that idea in general but felt it was overkill in this case: >> it's new code, and there was only one existing caller of the function >> that got refactored, and I'm not a huge fan of cluttering the git >> history with a bunch of tiny little refactoring commits to fix a >> single bug. I might have changed it if I'd seen this note before >> committing, though. >=20 > I understand your point. I'm also not huge fan of a flood of small > commits. Nevertheless, I find splitting refactoring from other > changes generally useful. That could be a single commit of many small > refactorings, not many small commits. The point for me is easier > review: you can expect refactoring commit to contain "isomorphic" > changes, while other commits implementing material logic changes. For review, it also tends to matter a lot to me, especially if the same areas of code are changed across multiple commits. That's more annoying for authors as the splits are annoying to maintain. For a single caller introduced, what Robert has done is fine IMO. > But that might be a committer preference though. I tend to prefer refactorings if it comes to a cleaner git history, still that's always case-by-case, and all of us have our own habits. -- Michael --+W3OCc/3PofDgFT5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmarMc0ACgkQnvQgOdby QH0m/g/+J6F02Yf2frX/p82zHGfnYWfA8ehiEYGSDGxfoPIJxpCrP1pcNFZdbftz g4HD2Ll1e2LF5zXu2OBd1f3W7G3z4jnWPDrthw3OneTfyhG/IjyILAn+g1a17ucG TG+XL9WgqfcYq1MRjYoWNGomdgQznrDYhF9zzvjR2S4gyGMecDeVxUcY9lP3gRke xUVwoHBTrSQhzvR4veUxKErzWeBy43o0KAGDTxRrHTCcrVVjwReWyyizKeiilYMP OjiDC/efmAQ4ntSdNQLP0mzbEhuNPWr3P0PLEsru+N867p79Mr9+m5jo665L4Mgb lrIA8UKq2kMJorVBrtLTUtIcORKFxAs27HvI2zg51zppoo+3/sUV54ZIHP7q7Ai/ 9FsEp8o2U2iGkQDFcAhz2AYf17NCbK0HFB6GTHhesXDSx510lJ5X5vwt3pWAjbpi 3XHY661Gmm77CYRPL2gggY8zowjvyp9pMSDOEpG77G0mVtQKx3vv1SQOzvRDl2Nb avmUATRqXyWFta5NPbuDe/PT+zmgBbprLrEcnbdMWpRp29/FjtD1HbAF3cbrWWAM Ydrq3rg/SDIQ3rqDz2/gK+rDBsZ0uGUDg2n6bE5a8XL8ZC59o31NPWI/VpC0wd4A 1+sbADqTaYRYj3JfzrQuerm5cTMkHu8s8K98E9btSUoKf4laFS4= =hjqC -----END PGP SIGNATURE----- --+W3OCc/3PofDgFT5--