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 1vSp9g-006GpH-0Q for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Dec 2025 04:16: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 1vSp9e-002jtm-2D for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Dec 2025 04:16: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 1vSp9e-002jte-0W for pgsql-bugs@lists.postgresql.org; Tue, 09 Dec 2025 04:16:50 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vSp9c-003yGh-0I for pgsql-bugs@lists.postgresql.org; Tue, 09 Dec 2025 04:16:50 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 703EF140023E; Mon, 8 Dec 2025 23:16:46 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 08 Dec 2025 23:16:46 -0500 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=fm1; t=1765253806; x=1765340206; bh=x7X3PAxmWB S7ihBhtLIJGUkoIV31qYObIJAkpHROsxw=; b=WFsD0uFNlbxJH6qzHvDCg5UPGF 1ByxGWaleov2V3hgaqI6KfUr4BvS0XGEGM9Y/JuSI7zwHdX89qHuiiVFd2fCYFTB 5yTTOX+A8cGCl2raKfUPSagXndpGttI+xKL4z5tlQSYeL93MqdioQCKOSvtxnuzj 9g8qi610p9TMV9e3imIG8yi7L6/aYKjt9LYHDfoqrIYmvPhb5ubsQAmJbju8D89/ gS8ln1xZLJVYLtD4QVrV1yEORtS0+a8p3yHqbbnmjpd2kUGIM/CE/l4zb+1jXi1P VNvmZf0oIFAVl39Q57AKtOCBOvxgmF1O8rakjtK/tII1sF8MHY9C4FDJGbEA== 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-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1765253806; x=1765340206; bh=x7X3PAxmWBS7ihBhtLIJGUkoIV31qYObIJA kpHROsxw=; b=v7oGnmrSi+lt8aRkDemRajTmz+jP+cSfFuet5hDgmDXDJn5bzdq rBlmrajtTCx94B7W+9rsH/4gBKg9y9Tt4JkGrbq9JUu/QLxQnoumSgkIkeJaTkLa J7mYR27To5Q9wCONEeDhJ9SgMY+5eoZVcqQG4AXnkvEdpoU5aYDlzBuaGI8a/+z/ HrLWDtaMbXwFo3x9xfEgQoD8TvtjBWNCMk5NUUnJZ+OjxK6Tig4Gdx7a3Uo3NzQa NzCD46qaDi3Zmb6JZYILKddfxjqEmRv1XXAtMVXmSDkLLZUmvIAo48Eh7WFlBcA1 YgzNkh2/ENqqaG0TI2cKkXuYiREEkx31pvw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddukeehjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopeejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehvrghsuh hkihhmudelledvtddtvdesghhmrghilhdrtghomhdprhgtphhtthhopegurghnihgvlhes higvshhqlhdrshgvpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprh gtphhtthhopegshhgrrhgrthgusghpghesghhmrghilhdrtghomhdprhgtphhtthhopeht ohhrshhtvghnrdhruhhpphesghhmgidrnhgvthdprhgtphhtthhopehpghhsqhhlqdgsuh hgsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepsgihrghv uhiikedusehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 8 Dec 2025 23:16:43 -0500 (EST) Date: Tue, 9 Dec 2025 13:16:32 +0900 From: Michael Paquier To: VASUKI M Cc: Daniel Gustafsson , Tom Lane , BharatDB , torsten.rupp@gmx.net, pgsql-bugs@lists.postgresql.org, byavuz81@gmail.com Subject: Re: BUG #19095: Test if function exit() is used fail when linked static Message-ID: References: <483765ED-0490-4972-9769-4943716BE204@yesql.se> <22D3D4EC-BCC3-4E52-B5A9-E1C6E363517B@yesql.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="c+EMNgcsTX47rjpp" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --c+EMNgcsTX47rjpp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 08, 2025 at 10:11:08AM +0530, VASUKI M wrote: > Regarding the whitespace comment - I had already ran the pgperltidy on the > perl script libpq-check.pl before sending the patch,and I also verified = the tab > indentation with cat -T to ensure the tabs were being used.FS,The curren= t version of > the scripts in v6 should already follow the standard pgindent/pgperltidy = formatting >=20 > If there is still any specific section that appears mis-indented on your > side, please let me know and I will adjust it. The only documentation that I have been following on this matter exists in src/tools/pgindent/README. That may be an issue with your environment, I cannot say for sure. And I am pretty sure that my environment is handling things the way the README tells. Anyway, after more review of the refactoring patch, I have noticed that we were losing quite a few details about the reasons why we are doing things the way they are. So I have added more details about to keep things a maximum consistent with what we had documented: - The shared library check requirement, mentioning that the check is skipped for static libraries in the Makefile case (for meson, we use libpq_so, so that did not seem strongly necessary to add there, perhaps we should). - The explanation for __cxa_atexit, related to OpenBSD, reusing the same wording as previously, but in the script. - The explanation for __tsan_func_exit with ThreadSanitizer, reusing=20 the same wording as previously, but in the script. Then applied the result as 4a8e6f43a6b5. Running the check for meson may bring some surprises, but we'll see. The buildfarm looks OK for the moment. Once we are completely in the clear, let's move on with the second patch. -- Michael --c+EMNgcsTX47rjpp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmk3op8ACgkQnvQgOdby QH0WXhAAn4tvHErsRx/fjIAEX9jEsxkiyfEh4/ZCGlj5m8nHkJmpScKwMdPVR3x+ izVeoczOvDGcDWqO5jbz/5KpfXRSugyra5jt3iYOTTOPdhpd9EWGgtUEcHzkRbHv Tzi6331CDrvDxrOX/QRXnXMLIm5Gum30G5U/Gf8FQ/T+S514/s08EznLgaZPK1JB KpK1EDvsVF9VPoM2K2Wu6tTUiwSv6lWiEa8q0w43v7SMl+i1fLuFr2nSdBNma96/ fQfXCxWa5YceklIQk4v9zE0tSG1Figkx8+eeycA9K7lM8wOpsDh4ZhDkFPmp3WMl hvItHLhAkVlSTSiw45OaX09notuj8sSuwpY5RJcY+euc/S4XoILh+KIe6cej2GJD WHsyHW2/NclA9C9MfWtwphaaRFDJ32Tf5PMTkrFzSzurtrLI/w2avExTiXQs3AEn jxdNpJdXU8qU3NJc7Wns5vvTlMNto+weUaHoJHbEVQt8zVesEMSA8YbneoVbNbJn YP6G91ArWHQrxyzqeW4UbN8mbgm4RoGTIkHxI+bYrjR4tIbCbelagn80GhsDV8K/ Jl9c9w0dvq1eUd+efmHOOf2/bSWXXSE5hzmvowIhQDOpOw3npXcfeRYeZl7bPuzR xAwGqefjxPnpycJRl0Tcu0Fyi6SRa9sbXxiboOI9tskz0M6/ecs= =DW0v -----END PGP SIGNATURE----- --c+EMNgcsTX47rjpp--