Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apqSk-00025h-V5 for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Apr 2016 05:02:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1apqSk-0004tU-Hv for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Apr 2016 05:02:06 +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 1apqRP-0003Pb-UW for pgsql-hackers@postgresql.org; Tue, 12 Apr 2016 05:00:44 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1apqRN-0005L1-9a for pgsql-hackers@postgresql.org; Tue, 12 Apr 2016 05:00:42 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 371AA2115D for ; Tue, 12 Apr 2016 01:00:40 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 12 Apr 2016 01:00:40 -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=RzcCtJfppIjhGELfKg2EE44dh8U=; b=ajB/j 9I7LSAhA+ZL3quTwQ8Ervjq4nUuU9d9lgmsLmZP2TxdBU2FwkJHnF+uxBpP7PydK bqBtOPWONYPAcADHoFfMHPT9vEuNrofLBhW+UTF6BLwvsoIUdguwndfrkCMQ3jQV LGNMbdrh1kXHH7ZrxqYfjG3ATWTunX2MWxtv7w= X-Sasl-enc: 0UE9i1sCfu2Coq8/EOk4V7I79ZHdH1qOUqmKse091FFy 1460437239 Received: from intern.anarazel.de (unknown [192.77.237.104]) by mail.messagingengine.com (Postfix) with ESMTPA id CBB10C0001D; Tue, 12 Apr 2016 01:00:39 -0400 (EDT) Date: Mon, 11 Apr 2016 22:00:38 -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: <20160412050038.ua2avkwi6dxxcjhx@alap3.anarazel.de> References: <1881.1460431476@sss.pgh.pa.us> <4369.1460435533@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4369.1460435533@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-12 00:32:13 -0400, Tom Lane wrote: > I wrote: > > This commit has broken buildfarm member gaur, and no doubt pademelon > > will be equally unhappy once it catches up to HEAD. > > Spoke too soon, actually: pademelon did not get as far as initdb. > > cc: "bufmgr.c", line 4032: error 1521: Incorrect initialization. > cc: "bufmgr.c", line 4058: error 1521: Incorrect initialization. > > Apparently, assigning the result of init_spin_delay() is not as portable > as you thought. Hm. I'm not sure why not though? Is it because delayStatus isn't static or global scope? > Maybe convert that into init_spin_delay(SpinDelayStatus *target, > whatever-the-other-arg-is) ? Too bad, my compiler generates a bit nicer code for the current version. Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers