Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5LAs-00018s-KT for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Apr 2018 01:00:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5LAr-0003pU-BH for pgsql-hackers@arkaria.postgresql.org; Mon, 09 Apr 2018 01:00:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5LAr-0003pJ-43 for pgsql-hackers@lists.postgresql.org; Mon, 09 Apr 2018 01:00:45 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5LAo-0003Hw-F8 for pgsql-hackers@postgresql.org; Mon, 09 Apr 2018 01:00:44 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2D47F2099C; Sun, 8 Apr 2018 21:00:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 08 Apr 2018 21:00:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=P5AYUaP++b1r6jicvXIT/iHlDPX9rL4nRIHOwIqZb8M=; b=SGRMywoJ bpkMPNeGT+h+6M0e99efGcA4NarIwHojkfJQ9TV3Qu4g5mcoq6TdGmZ1Dnp5/utF E6HFbz8qycQm3Hx13Ekj/ltJ7nwa09bfESC1CD4WJsMlsVrLpUKE/hz3gWKcGuki XYuuRX9I0CJBmGz9QRDLdJ1UVfpIBOfpBJyLNPhH0+eXYOekk5k/k33DC87uo3sM 8yrYTlQfOJinDGiQKqsOjXSdb8l6l9SbBjUVoXjVC8XkSPC2qpr7HhbKOuiwCme/ NsAUdZQckgBCfDOUVpIsCo0FMefbMT/eCMI7c9UiWvJRsvccC/fkPSKwOTFLC9Ag VJWGtGWbEvBp2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=P5AYUaP++b1r6jicvXIT/iHlDPX9r L4nRIHOwIqZb8M=; b=ZyGaaCNIW4RYxqhS1XummXg9xwUsDhOqewe8ycP96yMog cRFU35PSqNwFdwiWFSwSyw3kRgWho+DBng39YJ8VUZ3AwedhK5abqjpmB7ha8B2J YwKOqY8wPkc3zOxqoc2Oki7qdxWiUEfwVjO/QKA7IlcmvFrTNtxsxpK+GsXFGevw b2+KelXu3i/bJASNhTX710OkKulD/lJCROycpdBpORfaj5lLGlYZodaKSnFfQBCS a38Yj+MrhY0wUjE9xn2mz7PS7niIzkds1O+HyGbenNjpwhxXplLDv+BQHTkKrOYd jpSt/ONd2zKpSjafzd+ajBnwgK4ZXtq42/vwO1SuA== X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id CA2961025C; Sun, 8 Apr 2018 21:00:39 -0400 (EDT) Date: Mon, 9 Apr 2018 10:00:31 +0900 From: Michael Paquier To: Tom Lane Cc: Postgres hackers Subject: Re: pgsql: Merge catalog/pg_foo_fn.h headers back into pg_foo.h headers. Message-ID: <20180409010031.GA11599@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 08, 2018 at 06:35:39PM +0000, Tom Lane wrote: > Merge catalog/pg_foo_fn.h headers back into pg_foo.h headers. >=20 > Traditionally, include/catalog/pg_foo.h contains extern declarations > for functions in backend/catalog/pg_foo.c, in addition to its function > as the authoritative definition of the pg_foo catalog's rowtype. > In some cases, we'd been forced to split out those extern declarations > into separate pg_foo_fn.h headers so that the catalog definitions > could be #include'd by frontend code. That problem is gone as of > commit 9c0a0de4c, so let's undo the splits to make things less > confusing. This patch or one of its relatives has visibly broken parallel builds for me. "make -j 4 install" directly called after a configure complains: In file included from ../../src/include/catalog/catalog.h:22:0, from relpath.c:21: =2E./../src/include/catalog/pg_class.h:22:10: fatal error: catalog/pg_class= _d.h: No such file or directory #include "catalog/pg_class_d.h" ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. I did not take the time to look into the problem, that's just a head's up. I am on HEAD at b3b7f789 so it is not like I lack any fixes. Please note that "make -j 4" directly called works. -- Michael --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlrKuy8ACgkQnvQgOdby QH1etQ/+LUFlt3mcZ2LuwxUXT/cseimBifFy7Bf8NLtvbrkt9k9VEQwydl47/jX7 8RDAtdpdQ5sO2LJsr7JkLVtGF8cxNvnHB5V7/B025pjSVrps1rXuevKoVyvl17D3 iNoW2DJ7EIltTtCPb60ALxuVnkqEiKGPMRrrzhYx8d5J4jzK0IyZkzpV28FwWS3e jEU7pDSGfVmV9oewWW2AZlOf08o8zH9H/RcwfH0nFyTk6FvadP1ofHvyviLMwlJR 5pQuY3WWoeWgy8zPD3FxFYrQJMaun5/bO9ln4Ka1wwz7P4vMN4qPol8aZ7tayZNY eULoIkzp+Q7/80h9sPhZY1Oe1qToRCi+cuxt2/JtUnLuckVMydptpQTugEkyMb+h pUZ2gaG9s1cam4HchLKUvB0fsADsNXmpmnIp7g17S5FbS/isXTcoUVRngSM1gfuP cgBMKmD/kFSfh6Um0z3JaJjhK6mCwkwmxIiuDBaHgfb61e+tKXkOBTlRJ13IW0Cj +1lB2dGQRcIOQLdUY0nkuNj4c0AHUwfxnw7JKZi2jQTudHmQ3i20WwcJs1N2FQTx pxFyOnCzBg4xSna0NgTpbn1ccOffP3MHNc4+GD4cYm9xN6lP725F+r0VjgHEe1hN yss7FQYPGPez7icPGmr4DZCiTKnlXFKU2VhbwS6GrEsU/+rimA0= =BwUT -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--