Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKocV-0002Pu-CB for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jun 2017 16:24:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dKocU-0002Uy-Uj for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jun 2017 16:24:42 +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 1dKoan-0003So-Ed for pgsql-hackers@postgresql.org; Tue, 13 Jun 2017 16:22:57 +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 1dKoak-0006p5-Iz for pgsql-hackers@postgresql.org; Tue, 13 Jun 2017 16:22:56 +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 v5DGMn2X024366; Tue, 13 Jun 2017 12:22:50 -0400 From: Tom Lane To: Piotr Stefaniak cc: Alvaro Herrera , Peter Eisentraut , "pgsql-hackers@postgresql.org" Subject: Re: pgindent (was Re: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.) In-reply-to: References: <20170517171600.fyxl3lhseszeuqrx@alvherre.pgsql> <880.1495045872@sss.pgh.pa.us> <5316.1495051919@sss.pgh.pa.us> <11874.1495057567@sss.pgh.pa.us> <15819.1495145176@sss.pgh.pa.us> <51717.1495410614@sss.pgh.pa.us> Comments: In-reply-to Piotr Stefaniak message dated "Sun, 11 Jun 2017 21:14:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <24364.1497370969.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Jun 2017 12:22:49 -0400 Message-ID: <24365.1497370969@sss.pgh.pa.us> 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 Piotr Stefaniak writes: >> There's also the portability issues: __FBSDID() and bcopy() and >> [and err.h]. > I think that's fixed as well. I just finished some preliminary portability testing and things look much improved. The Makefile is still BSD-ish of course, but I think we'll just agree to disagree there. The only thing I could find to quibble about is that on old macOS versions I get In file included from indent.c:49: indent_globs.h:222:1: warning: "STACKSIZE" redefined In file included from /usr/include/machine/param.h:30, from /usr/include/sys/param.h:104, from indent.c:42: /usr/include/ppc/param.h:53:1: warning: this is the location of the previou= s definition Maybe you could rename that symbol to IND_STACKSIZE or some such? Also, I am wondering about the test cases under tests/. I do not see anything in the Makefile or elsewhere suggesting how those are to be used. It would sure be nice to have some quick smoke-test to check that a build on a new platform is working. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers