Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTBPi-00010o-4X for pgsql-hackers@arkaria.postgresql.org; Wed, 31 Aug 2022 00:17:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oTBPh-0005KZ-1F for pgsql-hackers@arkaria.postgresql.org; Wed, 31 Aug 2022 00:17:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTBPg-0005KQ-Oi for pgsql-hackers@lists.postgresql.org; Wed, 31 Aug 2022 00:17:00 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTBPe-0005Tf-AM for pgsql-hackers@lists.postgresql.org; Wed, 31 Aug 2022 00:17:00 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 677BF32008FB; Tue, 30 Aug 2022 20:16:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 30 Aug 2022 20:16:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=fm1; t=1661905014; x=1661991414; bh=hFz2GxF3I9 s4iAnm7kGC7ueeLBqCkp7xaZZVvCFjzjU=; b=uvZPJHqNZhGNNoKl0D++pwqk7/ Ze5pOFYpMpXmZVVp6z/DvzrMQpttTrhSD2fLA0s3tH8GMu4jKNck5cVeljdDAmj/ ngXmd5fVGipPlHgUeYKMDUnPUoc61UWjHMpYVvylshmSIzClIqxT5mZ7rD5gHK6U C5YAJ348F1wet/xe4kjxN05o3D3SRRkQMfqa5P+2mmfVRvLosyu97RBr2JXfKHPq gJgHzjVMUuOMAlD+S5lKjOLetDK+ij3ojqLY90v6aRS9Qo8nhl7mZ0V8y9JdG55e llMQxW/TRCvXukzVI6L+ZcSNx9gzCKcDxRkRGspMsyd/+YS0ZvZc+DbuYs7A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= fm1; t=1661905014; x=1661991414; bh=hFz2GxF3I9s4iAnm7kGC7ueeLBqC kp7xaZZVvCFjzjU=; b=yZQEdts7dAXiqgj068BBoYIK+6V4sEg5an/xpdupFSB+ uqacoU9o9BOVYQFhf0ClJpu7UiyIsCiCsF2UindZidOWfwqce+kSh+WIfxn079Nh mjhjA4wp+tViYgcffP6YfEYQXNdbVyGCtc9imV4NTgVZXsZ81+W4LHKKWbp4squv PiCkkZCxvb3yQKSt3hgGXwbrMxd1jIzW1qFZhW8q+fIF4mH46TBSD83jDsFshzA1 ZsrShWyOzQ9B8R2UaDLOmZJ5RySyByDWvM9ACjtPFSDYSNU7dktgWM7s2koezMFk 0GNXmK5QynuO564zSGtOLbup3T8QLopCvP6ud2+nxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdekgedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 30 Aug 2022 20:16:52 -0400 (EDT) Date: Wed, 31 Aug 2022 09:16:50 +0900 From: Michael Paquier To: Tom Lane Cc: Andres Freund , Niyas Sait , Thomas Munro , Julien Rouhaud , PostgreSQL Hackers Subject: Re: [PATCH] Add native windows on arm64 support Message-ID: References: <20220828154154.4vk6lymdbvx7hnhc@awork3.anarazel.de> <2679975.1661701879@sss.pgh.pa.us> <3426682.1661817511@sss.pgh.pa.us> <20220830003356.yl7ok3elemonrclo@awork3.anarazel.de> <3479390.1661824810@sss.pgh.pa.us> <3882925.1661904447@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xTT11EKzOA+1RSIK" Content-Disposition: inline In-Reply-To: <3882925.1661904447@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --xTT11EKzOA+1RSIK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 30, 2022 at 08:07:27PM -0400, Tom Lane wrote: > It seems like maybe we're relying on an ordering we should not. > Yet surely the ordering of the pieces of this output is meaningful? > Are we using the wrong libxml API to create this result? >=20 > Anyway, I'm now suspicious that we've accidentally exposed a logic > bug in the XMLTABLE code, rather than anything wrong with the > ASLR stuff. Funny. I have reached basically the same conclusion as you a couple of minutes ago, but I also think that I have found what we need to do here to ensure the ordering of the nodes generated by the libxml code. -- Michael --xTT11EKzOA+1RSIK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmMOqHIACgkQnvQgOdby QH3ERxAAiqL/nFP5IVQ0EAnwL1bk/FBuLO+VAbhYQgEOoTlpiPPoK4QiBDLu5yNg PgHz+APF/1Ec6TQHVyKRw4uFZE6aZ7q2AUFa2J/NmB8fRg9RdmrZ8cZDr4xjkf8Z h39JIETJVrYzuuW39T72gTvFDDGoGssswwRabkSSbAmonZABClaYqJ3jsiulnxDT XoQYxetU2xNGP0LC56N/e3gklf0zh6zHq5fnf8pCDYDrguWFV9WmI3hIPK7al+Vi dJjabr6/rrDxxyFEL+O8bsWGF89q+/gkJ1PG+JbxeeolTbKs6zOXvHcTQXWuVJAU Qs+DP9F3uQJbnH06/oHRVqs+yL0ZcNr6WxLcnWW1DlNsTESMtqJBB1rawmuF+wyW /BtKQH8YI+9eBrVl2/dpW3eEb6+Verq+k7WNnAGNvnVKyEJR9AXOOkYQdzmRSYhm OzVXGJPB4cZzUoHCwwp1L6pF00iTGvRRwgSX8D+fO9SRNh5G5044XmAhcfK0yD/0 wJVN+PhTI2MlA3yPkyFMuPIEFbiVDHgPWLwkSZ16cMOWlP+K7us6PPO0bpP0aQcy vcB6n/2+Irz87yB4MPtuGjlSqPh2xYJsYY2WJLsP5GB55NAtqiGkM5dUpESxfhjV DyvcZACy1iaN7ThWeqs1qD1Kb8QWbptzGsn8W8lmONjezj/fDUY= =Unem -----END PGP SIGNATURE----- --xTT11EKzOA+1RSIK--