Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fVLH7-0002EH-Or for pgsql-committers@arkaria.postgresql.org; Tue, 19 Jun 2018 18:22:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fVLH3-0003rp-A7 for pgsql-committers@arkaria.postgresql.org; Tue, 19 Jun 2018 18:22:37 +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 1fVLH3-0003rb-4s for pgsql-committers@lists.postgresql.org; Tue, 19 Jun 2018 18:22:37 +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.89) (envelope-from ) id 1fVLGx-0001HW-6p for pgsql-committers@lists.postgresql.org; Tue, 19 Jun 2018 18:22:34 +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 w5JIMPIW002691; Tue, 19 Jun 2018 14:22:25 -0400 From: Tom Lane To: Andres Freund cc: Bruce Momjian , Stephen Frost , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix for globals.c- c.h must come first In-reply-to: <2503.1529432396@sss.pgh.pa.us> References: <20180619175834.GE3637@momjian.us> <1904.1529431755@sss.pgh.pa.us> <20180619181526.sherq6nnxdtvjvhl@alap3.anarazel.de> <2503.1529432396@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Tue, 19 Jun 2018 14:19:56 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2689.1529432545.1@sss.pgh.pa.us> Date: Tue, 19 Jun 2018 14:22:25 -0400 Message-ID: <2690.1529432545@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > It'd probably be good enough if the error detection worked with glibc's > headers. Even if nobody noticed before a particular patch went in, > the buildfarm would surely find it. On second thought, we'd also need a solution for Windows, because we have some files that only get compiled for Windows. But even two separate tests of this sort seems reasonable. regards, tom lane