Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvnlS-0005p0-C9 for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2017 16:26:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cvnlR-0003rt-QS for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2017 16:26:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cvnlQ-0003qu-Oy for pgsql-hackers@postgresql.org; Wed, 05 Apr 2017 16:26:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cvnlO-0007xd-B2 for pgsql-hackers@postgresql.org; Wed, 05 Apr 2017 16:26:31 +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 v35GQPjU020507; Wed, 5 Apr 2017 12:26:25 -0400 From: Tom Lane To: Andres Freund cc: pgsql-hackers@postgresql.org, Joe Conway , Robert Haas , Mike Palmiotto , Stephen Frost Subject: Re: partitioned tables and contrib/sepgsql In-reply-to: References: <20170309144718.GE9812@tamriel.snowman.net> <81ddcddc-b9f6-9d80-19c4-c9270fc71fd5@joeconway.com> <426dde50-a6ef-d53c-0607-c0766afd6698@joeconway.com> <3b0f0a27-0ccf-7298-5365-87d685eeea42@joeconway.com> <19352.1491368287@sss.pgh.pa.us> <6d700f91-6bcb-9092-c897-501c7228975f@joeconway.com> <19727.1491408240@sss.pgh.pa.us> Comments: In-reply-to Andres Freund message dated "Wed, 05 Apr 2017 09:06:52 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20505.1491409585.1@sss.pgh.pa.us> Date: Wed, 05 Apr 2017 12:26:25 -0400 Message-ID: <20506.1491409585@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Andres Freund writes: > GCC generally doesn't warn about macro redefinitions, if both > definitions are equivalent. But they're *not* equivalent. c.h has #define true ((bool) 1) whereas so far as I can see the definition is just #define true 1 And if you put those two definitions together you will get a warning. The lack of one with c.h + means somebody is cheating. 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