Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvmG9-0006Gg-Gf for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2017 14:50:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cvmG9-0002TD-2v for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2017 14:50:09 +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 1cvmEc-0004Vo-A8 for pgsql-hackers@postgresql.org; Wed, 05 Apr 2017 14:48:34 +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 1cvmEa-000461-0n for pgsql-hackers@postgresql.org; Wed, 05 Apr 2017 14:48:33 +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 v35EmRII007903; Wed, 5 Apr 2017 10:48:27 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , Mike Palmiotto , Stephen Frost , "pgsql-hackers@postgresql.org" Subject: Re: partitioned tables and contrib/sepgsql In-reply-to: <20170405143042.34erxnxzne47mq22@alap3.anarazel.de> References: <20170309144718.GE9812@tamriel.snowman.net> <20170405143042.34erxnxzne47mq22@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 05 Apr 2017 07:30:42 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7901.1491403707.1@sss.pgh.pa.us> Date: Wed, 05 Apr 2017 10:48:27 -0400 Message-ID: <7902.1491403707@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: > On 2017-03-31 20:23:39 -0400, Robert Haas wrote: >> 0001 has the problem that we have a firm rule against putting any >> #includes whatsoever before "postgres.h". This stdbool issue has come >> up before, though, and I fear we're going to need to do something >> about it. > I think in this case it makes sense to deviate from that rule, > temporarily and locally. I'd really rather not. It might be safe here, because this code only works on Linux anyway, but it's still a dangerous precedent. 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