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 1qq5r4-0088fC-Vq for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Oct 2023 06:04:31 +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 1qq5r2-004Odm-Mc for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Oct 2023 06:04:29 +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 1qq5r2-004OdR-Bx for pgsql-hackers@lists.postgresql.org; Tue, 10 Oct 2023 06:04:29 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qq5qw-001Elu-T8 for pgsql-hackers@postgresql.org; Tue, 10 Oct 2023 06:04:28 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id BD3273200BED; Tue, 10 Oct 2023 02:04:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 10 Oct 2023 02:04:20 -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:sender :subject:subject:to:to; s=fm2; t=1696917860; x=1697004260; bh=XM HNDV9fPpny8L3s6DykQXu1cm60FG5x0k6qtNRJreA=; b=OLgKNNYSngDfgZAgyt J1Ry8Oq+KBkXyVAo0+i1lO3Nv/mHYFSDUn9FXdGgF9+1BsOH4iiR/miXiuRfLvUL r+2mhwIQ4BJtJj5JvmKgGPXMl0qfdwy6z+OoJpI6r/LOxeMHQuLB5ETs1N/sl2Ca u82UhtxjouS5fJmJZOj1NA3EeyjdmLJmQ433+jscY6oduXkbS7zthJa7aidYV0LH BIGsaqab0nUac11Xi6PGeGueFrSvyOP3HpjBt2TH0JXovnDQyT+CqcPDX0vF++Mn W+o9/cjZ4NwC/yhtV2Nb+zpQ6vGpgsckH0cAcfWn/7RdFEqeh0gWCWC5ktTe2Ot5 Cb/Q== 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:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1696917860; x=1697004260; bh=XMHNDV9fPpny8 L3s6DykQXu1cm60FG5x0k6qtNRJreA=; b=kQAHA/ICktd4uuGTtym+IZN0mAWvo /nPlneJVPEkdPXnsLsG+AS1JjoEj2Ex8Ay4s7BLCDyYsTmuvLnpZExz1nkBJlH3F hYvVwhfqrIWRnXjm+3ba4MoSaQ4Pu5VNdNg197V5YiyILjjZP1+ixAyr4Hq7IZyA 7MliLaDKeS/fgMzMtWFPohaVkPTkAmgdbEotY7qhgsa0Z3ksKzxnrelMlcIwp9wf tObF5VVc0/mf36INYBQwYRwsDcC8E5aMnsONLHhjI7Euf2haeBXGOYOWO+FHhbY/ pcTcYQoDypOFLTS+5BNKIqzPrxa1TYfZkIfAS7n027uX/r/IEGLj1/i9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrheeggddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Oct 2023 02:04:18 -0400 (EDT) Date: Tue, 10 Oct 2023 15:04:14 +0900 From: Michael Paquier To: Nishant Sharma Cc: pgsql-hackers@postgresql.org Subject: Re: [Code Cleanup] : Small code cleanup in twophase.sql Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tvP/09DIp9rbLMYc" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --tvP/09DIp9rbLMYc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 26, 2023 at 06:31:42PM +0530, Nishant Sharma wrote: > To support it I have below points:- >=20 > 1) Grepping this table 'test_prepared_savepoint' shows occurrences > only in twophase.out & twophase.sql files. This means that table is > local to that sql test file and not used in any other test file. >=20 > 2) I don't see any comment on why this was not added in the cleanup > section of twophase.sql, but drop for other two test tables are done. >=20 > 3) I ran "make check-world" with the patch and I don't see any failures. Note that sometimes tables are left around in the regression tests for pg_upgrade, so as we can test dedicated upgrade paths for some object types. But, here, I think you're right: this is not a table that matters for an upgrade and the end of the test file also expects a cleanup. So okay for me to drop this table here. -- Michael --tvP/09DIp9rbLMYc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmUk6V4ACgkQnvQgOdby QH0YGQ/+JUeC1xeQFwWd6zpd15PUmSPw5EIocVXSzX8mNLyqZppBOjXfrLZZmeSg WXHeP9jGilN6rvs/lsMzNnCav5RLsZleXjLr109st1Z/o1DCjAPPha8QzCnj/+ab WNgcVPzdUBJqInU8y40HUgQjAdI16MRFh7BolQmBzqcKZTyLbsh5chSlKDBFyo99 FZqi6HW8HFllW+tLBWQyN9rl/mgAL1PKpnPV4tDjBr0LMeOz61v+o2/GbCTFAJZC HZFf/sYdzwnT09tUwpb4D858wihNtF/Gog1JiAd44mH+q3x1bxjWyEKZXryMK6en BW2ee45MJF6jPlsECBMJJhZzgSlM1Kud10Rv2FO+lrUaZYaYoMDWqYiopOB172S3 5mpZQaSN2h3a6P0tRkM7oHfg+EDodm8kq5mz+KTBn7q31z9deZtEtQsbGq5TfNrt zbJtbTUowmTzIybgvTF+MI2xHiyKlN3XDb6U9GXeKuKbsy5PENy8JrK1Wc2+1sTU WHq9Pg5nWtTYGvu47lc2S090B3bSoeCdfHOoGzGcTteSwOQirslWOkYOSdZ3KJaJ 1eFnCTFdjuMNhJEJPVpyaaxCOlTjwBm2hEwLSMrJQg9qb/fSFUTKTtK1OONtrBiD xg8vEI0q7/DoN3npKqSWIvGNy7w5o+ouulbjLX3Jp5F3Rg7ZmnY= =sWOW -----END PGP SIGNATURE----- --tvP/09DIp9rbLMYc--