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 1qtGEJ-00Be5h-Ir for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2023 23:45:36 +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 1qtGEG-00AHTk-Sg for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Oct 2023 23:45:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtGEF-00AHS3-8A for pgsql-hackers@lists.postgresql.org; Wed, 18 Oct 2023 23:45:33 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtGEC-001AQm-NT for pgsql-hackers@lists.postgresql.org; Wed, 18 Oct 2023 23:45:30 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 3FC183200A19; Wed, 18 Oct 2023 19:45:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 18 Oct 2023 19:45:26 -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=fm3; t=1697672725; x=1697759125; bh=Ez OoPF2hi0vq0Md949HBBumz59mf39yryqrp43RKWms=; b=cDFtobcnC0YauOxBA0 3sB4aEYqhJkft6IMSGFrgKuwl4ojUfRuolwyCa4QbrFJfIfteeLjTbovTG8hI2WO lilgCDQOOeaby9N59A22r+ueTi+A+aMRswdi3BHSiMB5p18WOMNVmfnFljZdHFcd KZjKLAoE7B24LxfvQKtcXOQgzfBA8/RyF3NFW8pybZNOFC4hIjFpwnh7MW9ialw5 MNC8iqgd4LWYoEobQzckjYBy+lvqJExU2cmFcc40P4uUp39KiRHYNhQp0hqtzWfL zLNjZjgniXDKtWK3Cdf3r5i/aqRCQimwDVVKhHWWCJFMbLpdASkfoaH/BQtNlISM vgNQ== 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=fm3; t=1697672725; x=1697759125; bh=EzOoPF2hi0vq0 Md949HBBumz59mf39yryqrp43RKWms=; b=hw823x7HqIToM0Yu1nfI+bZmFeL/V OHGosMeoiuUe/xG3+APBS8wAbyE+U4s/1nYlq4BvWwPCCQNpv8MHI6VA4aeIZmPb PYvkTWIA5vqeAH8/Yr4bVx7xb0RlYmGzcY0CUWwsgyjgKWeBkT3wTOwXsKla27YN S82V2VUAIrfF+HSLpf11Eqld06VclBlsGoWFVpGu3YlbsV5Ocd1w/G8GWe9fixmZ lBnGsB3SGQyLdo22GrSzg/UbdU/YRPxyJuwDsGqNwo+KRiuDp4R49awmiY/K8U7X 9RnM66hIcPePh3cSBzUZxHebnxGs72nnP9KiIA9BNA3tNEwoBFKZpPV3A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjeehgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeg geffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 18 Oct 2023 19:45:23 -0400 (EDT) Date: Thu, 19 Oct 2023 08:45:18 +0900 From: Michael Paquier To: Christoph Berg Cc: PostgreSQL Hackers Subject: Re: pgsql: Generate automatically code and documentation related to wait ev Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OHFxu7UHTD/4xrjR" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --OHFxu7UHTD/4xrjR Content-Type: multipart/mixed; boundary="B2Fp1kClZnUKLZyq" Content-Disposition: inline --B2Fp1kClZnUKLZyq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 18, 2023 at 05:59:19PM +0200, Christoph Berg wrote: > I'm not entirely sure this is the commit to blame, but it's certainly > close: That would be in this area, thanks for the report. > A Debian user is complaining that in PG17, the installed > /usr/include/postgresql/17/server/utils/wait_event.h file is > referencing utils/wait_event_types.h, but that file doesn't get > installed by the (autoconf) build sytem. On a fresh install of HEAD (3f9b1f26ca), I get: $ cd $(pg_config --includedir-server) $ find . -name wait_event.h ./utils/wait_event.h $ find . -name wait_event_types.h ./utils/wait_event_types.h But I have missed a piece related to VPATH builds for wait_event_types.h in src/include/Makefile (see around probes.h). Will fix as per the attached. Thanks for the report. -- Michael --B2Fp1kClZnUKLZyq Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="waitevent-include.patch" diff --git a/src/include/Makefile b/src/include/Makefile index 2d5242561c..a7ca277803 100644 --- a/src/include/Makefile +++ b/src/include/Makefile @@ -54,7 +54,7 @@ install: all installdirs $(INSTALL_DATA) $(srcdir)/$$dir/*.h '$(DESTDIR)$(includedir_server)'/$$dir || exit; \ done ifeq ($(vpath_build),yes) - for file in catalog/schemapg.h catalog/system_fk_info.h catalog/pg_*_d.h storage/lwlocknames.h utils/probes.h; do \ + for file in catalog/schemapg.h catalog/system_fk_info.h catalog/pg_*_d.h storage/lwlocknames.h utils/probes.h utils/wait_event_types.h; do \ $(INSTALL_DATA) $$file '$(DESTDIR)$(includedir_server)'/$$file || exit; \ done endif --B2Fp1kClZnUKLZyq-- --OHFxu7UHTD/4xrjR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmUwbg4ACgkQnvQgOdby QH3skQ//S7+R42HKYNuyImZB/4UoFlVr/tW9cO/Kw5pB7rMkZTqnKXY5qgVp0k6C 1SK9uHv+sypmPm5EWajhbP6osclBczW6dWtVg87HIYn3hevhLuULTtF7HUdglHJP e8VcXLlmF6Pi7VCK3myeFU+3ElPPytuJ3bUJ97mhXDH6G8SDWDg/MbjaWVJXScQe vnRVYjy6BHyaqyPyqDoOerI3bu2FECCH6RNnMovg8muxbu9KApaLYlPfCIoCiH41 dUJV6FM9ct3gxDNmor4uAHa80I2XJNbEOvU/pfXBU8sYesbzcUXQ1bWk9mdk72qc T6jGaAf5zUSTECLn0p2A/hK78n7qwX9TW7mo/ZkoxhA2ojqRvId/6OUHBhWoI7fo kRz8mT7MEn3hcLgEKcCebGnGUb+/cet5YsDBvM1Zwj4r9qp8lZ37mITQr1/FzCrz QlCD/S2VfkEcbe6BxnCQ8nfHie6C6OeDxLzuqVqmMAPvXvITeWAFVhLKSQMFANY7 5L38At2Y+rcbQyDDwW03K5Coto6cv+/3FZhUjNxzkjl8LPLIibwl4azUsSTwmmXD 5xH3N6RJqqvgs7tnN/iRuGaf1/ncZQClQ+sg67TsJw8nMgOa4OJsaEq8FmHZpbZp 4o37J/7vFvnq7aaBOxfe06UqGUmQh1r9flJbmQqcD99hxZbtxdU= =f0ov -----END PGP SIGNATURE----- --OHFxu7UHTD/4xrjR--