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 1w4atq-002LZi-0R for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Mar 2026 08:44:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w4ato-00GVWv-0l for pgsql-hackers@arkaria.postgresql.org; Mon, 23 Mar 2026 08:44:36 +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 1w4atn-00GVWn-0v for pgsql-hackers@lists.postgresql.org; Mon, 23 Mar 2026 08:44:36 +0000 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w4atj-00000000djn-314T for pgsql-hackers@lists.postgresql.org; Mon, 23 Mar 2026 08:44:35 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 6A9CE1D00291; Mon, 23 Mar 2026 04:44:28 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 23 Mar 2026 04:44:28 -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=fm1; t=1774255468; x=1774341868; bh=V+jcsNMdpP i69VmjaXnU3WPRNZvz+CSa3HHIzfDYpSk=; b=EJQpzD8fY/+z2KLuh+pDITnkVN kS5xMA17oDyi2Garx0miacaDEmC4svoLiYEVbAmaB8TXF8FejJmU/W30VjWiSbmu C9NsNIInYWHnvoZulTHxFcLr92z0zuDQZ7+ldFy4BLFGkW3LWxihvQcsO/MK+v+m nKWOt9n5dLICKQl85qrQBpWJb+YQWnDU7GVVpQjO3BmckaJVzxl6ZfJbE70gCjOy QY60YJDbb2DwOTilnioec7hycr/HYPQeUpTfLQG/VXHbsnBUmcw/4UMjJjMdAY3T WwrpjtM2Jz0f3awlg4MeNHKCPxneGiBbdjfe7PoNEG4mLuePV+P0q27jbWLQ== 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= 1774255468; x=1774341868; bh=V+jcsNMdpPi69VmjaXnU3WPRNZvz+CSa3HH IzfDYpSk=; b=O15zTJGTUA5Qf/ADt40kxFGZVsc8JY29+jhSbxDwMzaT8BliErd zDpVenP81CRJcFPxganrqVQrLQ6sUqXHLyxTBtQzZTP97C8oQFA2QZLUXd8tlgD7 vp8Y+l0ui3GmwNTYTZAWexSyNiru7gKcPgFTE+1xtboMeYp2Ig1nIRo0sKS2q9Gn nNNq+n4Wjm12kPmE5xfX2DkOyUAjoYVzs4ZjQ8FM8DVq1J5+pj7uEXBAiwSE0VZa 1zUne17Ma6Z5zegKL/xEgsM0HS2mNz23ulaf8ESXpSjQpCrfs0ZX0L8i/Ff/NXuf 8va5umW+pcU6yA++2ludH0f0d/1b1bXREFg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefudekvdeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvve fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnh epteelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdejnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrg gvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepfedpmhhouggvpehsmhht phhouhhtpdhrtghpthhtoheplhhirdgvvhgrnhdrtghhrghosehgmhgrihhlrdgtohhmpd hrtghpthhtoheptggtrgehhedtjeesqhhqrdgtohhmpdhrtghpthhtohepphhgshhqlhdq hhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Mar 2026 04:44:26 -0400 (EDT) Date: Mon, 23 Mar 2026 17:44:21 +0900 From: Michael Paquier To: Chao Li Cc: cca5507 , pgsql-hackers Subject: Re: Bug in pg_get_aios() Message-ID: References: <32BBB449-13FF-4DC7-9F7E-FB92CA0932FA@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MwCJfBRtXOBcWRYn" Content-Disposition: inline In-Reply-To: <32BBB449-13FF-4DC7-9F7E-FB92CA0932FA@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --MwCJfBRtXOBcWRYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 23, 2026 at 02:30:28PM +0800, Chao Li wrote: >> On Mar 23, 2026, at 14:23, cca5507 wrote: >> If I understand correctly, we want to set nulls[0] to true if owner_pid = equals to 0: >=20 > Indeed an obvious bug. Or the intention of the code could have been to allow a PID value of 0 to be exposed, but I don't really buy it. Will fix, thanks for the report. -- Michael --MwCJfBRtXOBcWRYn Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnA/WUACgkQnvQgOdby QH2ZyQ//WVwAQxLGtlvOORjRMYyaHZzVGikmvF7D1N5HaSPYH/FeHHjXkmIkCfLx DHXHUtsEdP3erovTFMIbKpPuWnCtb/L6wXQDgEZEJsRPDSq5YPWf9e/ZHUJAi305 y9Yg0tJQtgnRwb7QB8DZX67iAmohpwSL7gwf0B6StmCdbWv0mqMoRvJ85r7dMvV/ fQohZPoONxGeh800XUnnYa/DD6K4OSmOijVfB+VLv7cfHK9PbRnY+sxo9sqS0MM3 Y3hYIGORDAl+oEN78eMAG6OwfAY+oX9E7i0WJ8S6F3d2WioluDHHb62WDWsL7ucP fKzgQOTKQ3k29FSyU5UG5rqU7+QNSe4L0GGmslbfAq+nr3MJNbPUp105PnDBixJi WP++i66zrgIlAQ6Ehzz8U0jXr8EFDzfKKBhyXPlem3GU+WTwt1YV/iCKdNex+/55 1+D9Vt5r0UWGtxzGZ/KjiV4fvXf3UX73PZa8gUI8osfDgUuL4sfqA6sc9ixJaQuG dLOe0GSyLL77qD/cYAavWE3A7degTVS0yReeY2vNyQHfNDP0wC2DVDlJdSD8JHgx opYmHfIYjh34nbA4Kfn4Kk0HxfIv7dJmwRCoyhX31pv/HWJeDiSERm0SZMZjfzes F9r7Z0aWv0LGr92cDNDw/uQwe+rAwOywFtv0/tQz/9QGpEBsI4Y= =fSkH -----END PGP SIGNATURE----- --MwCJfBRtXOBcWRYn--