Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJ3tN-00078K-9w for pgsql-hackers@arkaria.postgresql.org; Fri, 01 Jul 2016 19:14:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bJ3tM-0003IW-LP for pgsql-hackers@arkaria.postgresql.org; Fri, 01 Jul 2016 19:14:20 +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.84_2) (envelope-from ) id 1bJ3tL-0003Fa-64 for pgsql-hackers@postgresql.org; Fri, 01 Jul 2016 19:14:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bJ3tI-0002go-8X for pgsql-hackers@postgresql.org; Fri, 01 Jul 2016 19:14:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u61JDwYT026358; Fri, 1 Jul 2016 15:13:58 -0400 From: Tom Lane To: Michael Paquier cc: Christoph Berg , Robert Haas , PostgreSQL mailing lists Subject: Re: Broken handling of lwlocknames.h In-reply-to: References: <31398.1467036827@sss.pgh.pa.us> <20160627182256.GB8514@msg.df7cb.de> Comments: In-reply-to Michael Paquier message dated "Tue, 28 Jun 2016 12:26:00 +0900" Date: Fri, 01 Jul 2016 15:13:58 -0400 Message-ID: <26357.1467400438@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Michael Paquier writes: > Yes that would be indeed cleaner this way. I have poked a bit at that > and finished with the attached that defines some rules to generate all > the files needed. I made some mostly-cosmetic changes to this and pushed it. One thing to note is that it seemed to me you'd broken the rule for schemapg.h: by removing the phony target, I think you removed the behavior that we'd always go and recheck schemapg.h's dependencies. To do it correctly without that target, we'd need src/backend/Makefile to know all of those dependencies, duplicating the rather long list in catalog/Makefile. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers