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 1tN3Rr-008E89-5O for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Dec 2024 05:15:15 +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 1tN3Ro-002wcR-Id for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Dec 2024 05:15:13 +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 1tN3Rn-002wcJ-I3 for pgsql-hackers@lists.postgresql.org; Mon, 16 Dec 2024 05:15:13 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tN3Rk-0035Qr-He for pgsql-hackers@lists.postgresql.org; Mon, 16 Dec 2024 05:15:11 +0000 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 645651140118; Mon, 16 Dec 2024 00:15:06 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 16 Dec 2024 00:15:06 -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=1734326106; x=1734412506; bh=AxHjZ1OZ8J 5y23d+7a5FFX3jHQwfs+g/tt2Dbf/HCXs=; b=H/bfceQ2FBJzh9Ck/Df71ZGPqd kf6XUwK/j0LxOkDwluJaah5tVN7OesagzuNR/tkDK9anfyVgvvvZEqb+A1LK9La/ orwXcdjGcziSjXBxCZTzFNhkz6ns64ammyc3H9/xYJyBMY/1P4R43KBEeQ+uch3D SzkHZCvt6luuIuyqn6HbYJiX8MeIJ2cQnkXid7xFI5SlOq/0YLcWkm5O8vxDaMEW Set5+G8cW3MgqaCw1IWhnsviKySM+bq6oELYOTIxxKGCLgkXX/bKMeF2dm66k4hh 58wTTTNx6OU95tpykdBA66J+gJjpcz0vgsEW6Q/gp386NC0BhkacNLQwnkvA== 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= 1734326106; x=1734412506; bh=AxHjZ1OZ8J5y23d+7a5FFX3jHQwfs+g/tt2 Dbf/HCXs=; b=om30gAGyALsArwziCcRAXY4VQGDyf0pHC776Om8xwQeSYcvZReL x7Kj822wMNjiVd/bZh4SFkywl/hVrW9/WxV7mNrgPf1654yiX01wf1d15T5mVd2J +vyDIF7wfsGwZIj/jB95t0xcWAKoH2tHm2p0PlWhoW9gItmFTVw7iO5bMEKIYBAw tAiTnXf5jDC9BReVzV7BfiPl7FbMvTlV0QyMmtIrIcJUazUIpiv+nFAGWAMSuZz4 DV+DveISrvlhmB7SDiFBpRX9BqtcdwWWL3ZKgr1LG9dCXUT/oOf/2bpK+LYk0sSq qwSbPZRks/cjvvYunN99lczLZ0inKgElAjw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrledvgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhgg tggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoe hmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleei fedufffhhfdtteelgeeggeffhfekueevteeigfduudevudetgfegiedvjeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehp rghquhhivghrrdighiiipdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehilhhmrghrihesihhlmhgrrhhirdhorhhgpdhrtghpthhtohepphhg shhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Dec 2024 00:15:04 -0500 (EST) Date: Mon, 16 Dec 2024 14:14:55 +0900 From: Michael Paquier To: Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pg_combinebackup PITR comparison test fix Message-ID: References: <87h67653ns.fsf@wibble.ilmari.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tnGMLxLd5633SC9H" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --tnGMLxLd5633SC9H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 15, 2024 at 10:34:07AM +0900, Michael Paquier wrote: > Indeed, good catch. I'll take care of it. + sub { + s{create tablespace .* location '.*/tspitr\K[12]}{N}i for @_; + return $_[0] ne $_[1]; + }); The CI is complaining on this one because the custom comparison function is not able to digest WIN32 paths, leading to failures in the dump comparison like that: -CREATE TABLESPACE ts1 OWNER "SYSTEM" LOCATION E'C:\\Windows\\TEMP\\tJ4qTmrkZv\\tspitr1'; +CREATE TABLESPACE ts1 OWNER "SYSTEM" LOCATION E'C:\\Windows\\TEMP\\tJ4qTmrkZv\\tspitr2'; So there is an issue with the slash character after the location and the single space before the quote. We could use something like this one which would handle the paths sanely: s{create tablespace .* location .*'.*tspitr\K[12]}{N}i for @_; Perhaps you are able to come with a more elegant string? -- Michael --tnGMLxLd5633SC9H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmdft08ACgkQnvQgOdby QH1BCA/+PLYKegiauUmtwfWjEruKFuJnotUr5rynzwY3dQSGMvcdeNfY5bBuynJh pXQehq7HhwJUMzqxMkrUSMLteT77/R/0RTfA/XjDvwzIEtp39hjeemGw8oJQjSJ0 Yjq2sEJhMSo5+0IamiQhheoqOPH4BtGvl9w/AQu9bNgXnei827qAjB8Xi1C4AEqN q88sXh7pfSD/HLbmZP0f0Fcn3L02Ma6WDag2xzy4KMjjyklPyYtekVpXYQUWuFNq yYUJGghA01IcVBICf4sn9IxEWLvf4H4UpjF9UiEqgDW8sC92A9GfoTMnC5hpy9dn WlDqzgcAdR0qO6ZDc+fqWtGGTudzV7NZDdg18FACmRUQ3kv/IsIdILZFzOvbZtWU xQJLMsfFID/erSLo/TrLVPrJeMsEhz+iYN9yYfp/RHmt/jEtyfHehiOcJ5SBzuJP bxRiUXTMr2kzar/tcnDGnooUcXBUNcM2PHMi/VxcRGY3F85RfTSYf8xAA0lhUy+c bsoCOKZ/jX5BymWPy/nTiqeBZAG2xFDDRBi9W2/Vy84fXVFU3u1O763kyhrncOGu cXDDFB8penkSeaw0G625r9aXMlAbQ+qMsOLQURnSnkkLvxMVXOKfw4HgwRYEj3hm TKnp4R+bRAjPFtbD8uLevogLwqC8xKyhU+kSWXferEnxen9Lkcc= =+4tl -----END PGP SIGNATURE----- --tnGMLxLd5633SC9H--