Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqtrL-0003On-QC for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Apr 2016 02:51:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqtrL-0005TT-3T for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Apr 2016 02:51:51 +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 1aqtrJ-0005Sp-PF for pgsql-hackers@postgresql.org; Fri, 15 Apr 2016 02:51:49 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqtrH-0004KY-7K for pgsql-hackers@postgresql.org; Fri, 15 Apr 2016 02:51:48 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 931B220AD4 for ; Thu, 14 Apr 2016 22:51:46 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 14 Apr 2016 22:51:46 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=gIy+HNWkPDl37TloFeHbrvWHJU0=; b=kq9/f rPys2O1ANs/uLf1TD0uraaYE70GxZo7Bpx8HF2wQ4BJyUTLo6I5aNXQMYnlDbwZJ C/LLgdChe4HqX0UFjcYiftWPGdaM2dBz+O9y4pNy2Dqpe8c7aFBdK1w1J9qxTu2H EFzjzP1pput4BsZ/0HKB17gOn3XNCVaLQpSkoM= X-Sasl-enc: 2N4NYE5OtlpuvRZVHimylMsoC3sTK19BO+84Lq2NIZJC 1460688706 Received: from intern.anarazel.de (unknown [184.23.178.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 45FF4680224; Thu, 14 Apr 2016 22:51:46 -0400 (EDT) Date: Thu, 14 Apr 2016 19:51:45 -0700 From: Andres Freund To: Tom Lane Cc: pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Allow Pin/UnpinBuffer to operate in a lockfree manner. Message-ID: <20160415025145.5bw4fgx3dbrh2cxn@alap3.anarazel.de> References: <32012.1460472131@sss.pgh.pa.us> <3736.1460476321@sss.pgh.pa.us> <20160413180414.b3cbliwgzrfinxg3@alap3.anarazel.de> <16708.1460571375@sss.pgh.pa.us> <20160413182019.opzgxtnmjkeibmub@alap3.anarazel.de> <20160414000412.7b7yocwptunnbptt@alap3.anarazel.de> <16042.1460592586@sss.pgh.pa.us> <20160414063121.d6neaimawvffo3mh@alap3.anarazel.de> <20160415021702.rw6n725aqkfluf5w@alap3.anarazel.de> <12049.1460688361@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12049.1460688361@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) 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 On 2016-04-14 22:46:01 -0400, Tom Lane wrote: > > Hm. Doing so I found the following in 9.3: > > > /home/andres/src/postgresql-9.3/src/bin/pg_dump/parallel.c:561:23: error: initializer for aggregate is not a compile-time constant [-Werror,-Wc99-extensions] > > int pipefd[2] = {pipeMW[PIPE_READ], pipeWM[PIPE_WRITE]}; > > ^~~~~~~~~~~~~~~~~ > > > which is, afaics, the same class of issue we're hitting on master right > > now. I apparently fixed that, via Robert, back in 59202fae0. I'd planned > > to put up that animal (mylodon) for all branches, but given that that's > > been unfixed for years I'm not sure. What do you think? > > Huh. I just tried pademelon's compiler on the 9.3 branch, and sure > enough it spits up on that: > > cc: "parallel.c", line 561: error 1521: Incorrect initialization. > cc: "parallel.c", line 561: error 1521: Incorrect initialization. > make: *** [parallel.o] Error 1 > > I am not sure how come I missed seeing that at the time, but I certainly > would have complained about it if I had chanced to try that compiler > later in 9.3 development. I stopped using that machine actively in > mid-2013, though, so maybe I just failed to try that compiler for a > period of a few months. IIRC, when I got around to setting up pademelon > as a buildfarm animal, I didn't have it building anything older than 9.4, > so I missed seeing it on that end too. > > I'd vote for back-patching 59202fae0 and enforcing c89 compatibility > all along the line. Done. Will be a bit till all branches have reported (that VM's getting busy, it now runs four animals, one of them skink which is kinda expensive CPU wise). But I checked before that I can do a basic compile with the respective flags all the way to 9.1 (after pushing the enum fixes). Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers