Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqtLB-00022G-QV for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Apr 2016 02:18:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqtLA-0007de-35 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Apr 2016 02:18:36 +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 1aqtJo-00068X-AD for pgsql-hackers@postgresql.org; Fri, 15 Apr 2016 02:17:12 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqtJh-0002X6-29 for pgsql-hackers@postgresql.org; Fri, 15 Apr 2016 02:17:11 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id D790A2051A for ; Thu, 14 Apr 2016 22:17:03 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 14 Apr 2016 22:17:03 -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=vniwHucaSUSyKOr+V2LS0N5QFMo=; b=llUti CYWVELQm3+yUy/3OIdbiAKo6xx2YKukemy/aP6PHXIK3Lxjk9brVA4It5PZvT4Yz Xj52YM+S3NQzLQtMxXyCNWxyI3cpXoiCNg/4M3kKzJAk6yzMf495E/iYZIYkMxet pmBFZIaaxs79RCXXk1GXxeUtXv5pcGz8ZVf2dw= X-Sasl-enc: ctSmcP9w0C7fMZWjp5n/piQOsAElVFX8uqOMOqfR4Ccl 1460686623 Received: from intern.anarazel.de (unknown [184.23.178.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 7DBFC680224; Thu, 14 Apr 2016 22:17:03 -0400 (EDT) Date: Thu, 14 Apr 2016 19:17:02 -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: <20160415021702.rw6n725aqkfluf5w@alap3.anarazel.de> References: <4369.1460435533@sss.pgh.pa.us> <20160412050038.ua2avkwi6dxxcjhx@alap3.anarazel.de> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160414063121.d6neaimawvffo3mh@alap3.anarazel.de> 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-13 23:31:21 -0700, Andres Freund wrote: > I'm also putting up an animal with clang that uses > CFLAGS='-std=c89 -Wc99-extensions -Werror=c99-extensions' > which actually catches this. 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? - Andres -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers