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 1rX0IW-008GP3-1Y for pgsql-committers@arkaria.postgresql.org; Mon, 05 Feb 2024 14:50:12 +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 1rX0IV-00Dso5-6k for pgsql-committers@arkaria.postgresql.org; Mon, 05 Feb 2024 14:50:11 +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 1rX0IU-00Dsnx-Cz for pgsql-committers@lists.postgresql.org; Mon, 05 Feb 2024 14:50:10 +0000 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rX0IR-005b23-Mt for pgsql-committers@lists.postgresql.org; Mon, 05 Feb 2024 14:50:09 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.nyi.internal (Postfix) with ESMTP id B276E11400B8; Mon, 5 Feb 2024 09:50:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 05 Feb 2024 09:50:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding: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=fm2; t=1707144605; x=1707231005; bh=7htHSZuNIhGEq3tG5cmxQPlMOi4rXlEH DTYNdB+O4ns=; b=iinDKBRhScjP10Ht1FCYEj0h+kV4mJXc+l33sKX1cBVLG7FT 4Wrv/M37v3IAdQ++qOxih32dQ/xn2p580G8PWTDEXGlQy+VBBWUjpzY7eNWw8DXn 1aj5a655H+4Ek0UUJ27XVs16/S2aMeD9bOUotHZ84fbqX9gCiibIbgptWu43D/9I m5FHgrfvsDEXxR1We1p39JpzHq/uS+OpVLiVSfY+QxgkYZzGjI+TotI6tLyf+ZNd fKOAlM3eeoWfIOPMqJcbRAAw1jx6Gx8Gx+7PA0NcKI3J2nHeOZeZXfs1pJMNyKAj Fpr+lNIbxkhtS8KrGF92Wd7XPwE+Ly88ZXwNiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707144605; x= 1707231005; bh=7htHSZuNIhGEq3tG5cmxQPlMOi4rXlEHDTYNdB+O4ns=; b=D 3wA9gt9ghfEIKrZMz2jgm5XhJdwm9HG6AInVRKkpJH+09Ryz9Sm2IrkOtJ4MghXW NzHEmFecH32kbr0Bp09Hj9FteU/9iEKwuJNIzhNciqbzvsNyl1EtbWseD447XFfS 7DIkTgAfyXunl+nkE6VqoBpWxKvmmGCuhbFS76G54XTqK2FdtOjMnccWsPGx4b8e 4afKp+27CPqOVk7vN2tAdYmFDpS6Vv9o0m5E3mQEIlm3h5Wxr2il0L6Og0+xrt7X ypohB89UIaiOOpy33ck24vtqzxcDeyoXNeYzz3c8ghs3qqFMM1SD4fj1GqSZluoz hIsbMEwtkH4Cf/eE3GqMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvtddgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeu tedvffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Feb 2024 09:50:04 -0500 (EST) Message-ID: Date: Mon, 5 Feb 2024 15:50:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Generate syscache info from catalog files Content-Language: en-US To: Aleksander Alekseev , pgsql-committers@lists.postgresql.org Cc: Tom Lane References: <4020891.1706018887@sss.pgh.pa.us> <4049175.1706027790@sss.pgh.pa.us> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 05.02.24 13:48, Aleksander Alekseev wrote: > Hi, > >>> I have found that the files are not listed in the clean target in >>> src/include/Makefile. That might explain it, but it's gotta be fixed >>> anyway. I'll go ahead with that. >> >> Looks like that made guaibasaurus happy, but I'm still mystified >> as to what was wrong and why it didn't repro elsewhere. > > I noticed that catalog/syscache_ids.h is not installed when using > Meson. This breaks 3rd party extensions like this: > > ``` > In file included from > /Users/eax/projects/c/timescaledb/tsl/test/src/compression_unit_test.c:19: > /Users/eax/pginstall/include/postgresql/server/utils/syscache.h:23:10: > fatal error: 'catalog/syscache_ids.h' file not found > #include "catalog/syscache_ids.h" > ^~~~~~~~~~~~~~~~~~~~~~~~ > ``` > > It seems to me that include/catalog/meson.build should be modified, > however syscache_info.h *is* installed and I don't see why it would be > processed differently from syscache_ids.h. The code had this backward accidentally: syscache_ids.h should be installed, but syscache_info.h not. I have fixed this. Thanks.