Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ces4t-000123-AR for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Feb 2017 23:36:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ces4s-0007GP-TS for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Feb 2017 23:36:38 +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 1ces3U-0005fz-Kk for pgsql-hackers@postgresql.org; Fri, 17 Feb 2017 23:35:12 +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 1ces3O-0000wS-41 for pgsql-hackers@postgresql.org; Fri, 17 Feb 2017 23:35:11 +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 v1HNYxe6030008; Fri, 17 Feb 2017 18:34:59 -0500 From: Tom Lane To: Mark Dilger cc: Thomas Munro , Andres Freund , Pg Hackers , Alvaro Herrera , Andrew Dunstan Subject: Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes In-reply-to: <25938.1487367117@sss.pgh.pa.us> References: <20170217181348.a5pnflupslw2t6xx@alvherre.pgsql> <32279.1487355685@sss.pgh.pa.us> <2664.1487360457@sss.pgh.pa.us> <0C821A10-45A2-4112-A1A2-EDAE27712C62@anarazel.de> <16461.1487361849@sss.pgh.pa.us> <19678.1487362865@sss.pgh.pa.us> <25938.1487367117@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Fri, 17 Feb 2017 16:31:57 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30006.1487374499.1@sss.pgh.pa.us> Date: Fri, 17 Feb 2017 18:34:59 -0500 Message-ID: <30007.1487374499@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 I wrote: > Right now I'd rather focus on getting to where we can have -Werror on in > the buildfarm at all. longfin says we've got work to do on that, at least > in the back branches. It may be that we can't expect near-EOL branches to > always compile perfectly cleanly on newer compilers. I found that longfin's compiler is happy with 9.4 and up as-is, and it required only a few very small and safe back-patches to make 9.3 work too. However, it's looking like -Werror with 9.2 is a bridge too far. The thing that seems untenable is that to make 9.2 compile clean, we would have to back-patch commit 71450d7fd, along with a fair amount of follow-on work, so that the compiler would understand that ereport(ERROR) doesn't return. I don't think we want to go that far --- and maybe introduce portability issues for someone's ancient compiler --- for a branch that's near EOL anyway. I'll adjust longfin's configuration so that it only applies -Werror in 9.3 and up. 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