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 1qcaGt-00FqKs-ID for pgsql-bugs@arkaria.postgresql.org; Sat, 02 Sep 2023 23:43:20 +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 1qcaGq-00CnpU-Jn for pgsql-bugs@arkaria.postgresql.org; Sat, 02 Sep 2023 23:43:16 +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 1qcaGp-00CnpD-0s for pgsql-bugs@lists.postgresql.org; Sat, 02 Sep 2023 23:43:16 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qcaGf-002dEI-Rc for pgsql-bugs@lists.postgresql.org; Sat, 02 Sep 2023 23:43:13 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 83E2C5C0063; Sat, 2 Sep 2023 19:43:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 02 Sep 2023 19:43:03 -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=fm1; t=1693698183; x=1693784583; bh=wj BlErmnDV4MO4kgAwVqAUu3Nuwg97Uz7SspCPMF5Ys=; b=QtWwcIGHMi5FrhOmqf ZXMlgt2D+aMWVpcFAB5VLD/50aFuyyoFvuNcfGWf7H/znM/gvnu2EkDCyITRsmn4 kH9ProwR/SDvQRTAQTFWAODQb9eVlPb2RkCWg7vwkRvfveGZ6wAwZhkfHiacROUv KMNJugQIuC4EFQEES/JcA1FXggEo/kUzVmIvX48LHn4hB7/uCamofkgwWN9fQWEt PAlQfufqZUF10fNyAujZdphRS/7O+jpXqLRfVpx/UfY5pvZ+71xE0U9EgfopMxOI LazTam4UocuLxKAAUAit4V8VsNGJg1LLizqHY6N7FdD49U97Htqwx5YL1lv+7rYU C2og== 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=fm1; t=1693698183; x=1693784583; bh=wjBlErmnDV4MO 4kgAwVqAUu3Nuwg97Uz7SspCPMF5Ys=; b=JVQihnxpltn4n1IchEpk7fuKfWuv+ 6vqkI7V07uCtr0ls6/tRuG8CilhRe/I1IJG7E+PaaZq7pwFsf9Dmal0c+/DBVPVE JlC1by3Jwsc1WeesMr+wpYpujP4PZidqO8nDkEX0O/DUfRzLUbv1YT8x88DQtqXG S5bapWSXXJ3+NPBDJ4Tbmiy6+Eq3kzhxXMmXCKFFZLWnGC0uItvSai9JeiHAnzui gzufj1cE722Me8hgSIwuRC5up0oICEHC/3JeF25PQSuTnLLaOrK3qdRJqG8ZdkgD 1S37MSqZcGen6JNZ9KSX/5t26M7wFaatzt6EWlAM0AEtjjNMmtmV6QChQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeghedgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Sep 2023 19:43:00 -0400 (EDT) Date: Sun, 3 Sep 2023 08:42:55 +0900 From: Michael Paquier To: Sergei Kornilov Cc: Noah Misch , Tom Lane , Kyotaro Horiguchi , exclusion@gmail.com, pgsql-bugs@lists.postgresql.org, Thomas Munro Subject: Re: BUG #17928: Standby fails to decode WAL on termination of primary Message-ID: References: <1641161693655508@ske52ucy55r5y36k.iva.yp-c.yandex.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IU82yZwQlwjrgEEE" Content-Disposition: inline In-Reply-To: <1641161693655508@ske52ucy55r5y36k.iva.yp-c.yandex.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --IU82yZwQlwjrgEEE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 02, 2023 at 02:51:48PM +0300, Sergei Kornilov wrote: > Corresponding tmp_check/log/regress_log_038_end_of_wal show error: >=20 > No such file or directory at /home/melkij/tmp/srcs/postgresql/src/test/re= covery/../../../src/test/perl/PostgreSQL/Test/Utils.pm line 725. >=20 > pg_config from scan_header function returns > /home/melkij/tmp/srcs/postgresql/tmp_install/home/melkij/tmp/pgdev/inst/i= nclude > , then the function tries to concatenate > server/access/xlog_internal.h, while the required file is in > postgresql/server/access/xlog_internal.h from this directory. >=20 > If I change the test like this for both scan_header, then it succeeds. >=20 > - my @scan_result =3D scan_header('server/access/xlog_internal.h', > + my @scan_result =3D scan_header('postgresql/server/access/xlog_internal= =2Eh', >=20 > Is there something wrong with my setup? I think that's just a mistake I did, as there should not even be a need for having to specify "server/" for the header path. If you switch scan_header() in Utils.pm to use --includedir-server rather than --includedir, does it work correctly for you?=20 -- Michael --IU82yZwQlwjrgEEE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmTzyH8ACgkQnvQgOdby QH15ARAAp1eG52hCwUD3TbFjlt0wDo1wVQJcfoIXEUM3o8rAxo3y/tmBOtSGgQGl 0An2hihLAU7GJBPfkhFYIYafVE6KiaDu3ndwB89+Dl9TlWcvDxbuox/Q08OCuxuz CCt+o5UdUvhO9Th2rZ/XvGpwXRjVgfK+t522A4z1pVwJDo3D9AOfFbtHXGzEdIhF xiWL2c5SV/l6APzClfoCM9uEwGiyrVUko7k/7AH5U9TTMmyeoTY341fyjOfq9JLm oM6IKjT8G+GD59ss3ps0FtO2P5YzfVZueA7UkrPD/BRkCYVlmoYQZ4QICB+i7+rP 6Xs8acvwKdxqJW515CNHa7vDkxbIJ+tpZ42tq+2xjmQdWfA28fj7ox6945jWfUv4 tvIgZ+x3KuVaaUXHEG55IjEd0XXOGLQ1AnyHbCo7tlnE57BySh+bP6q/vdOryrhk srjJHZhzXoKyqJM3B/7kSRuawlWw/hmQzyPl57F65KeXEhMMIjodW+tTnXxhCgEg pn6G3xVaNkPcJ6RVyx933npLR8pgzUY5eiQkYXJ5ZDy9BUi8jp+rHqmGdjOuZh+u mEw3vyrkg9lkZLwsoHMFN0fuLX/jLVFmAZUi+KQDVsiqFQLfuIiOzWdFsgbiUEXi zsG3S9Ro1dfO9DYPG8aqxmRvPeWldAwZQsNFL0EQXkzw2oxeYVo= =Z+0d -----END PGP SIGNATURE----- --IU82yZwQlwjrgEEE--