Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aVxXj-0000W0-2Y for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Feb 2016 08:33:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aVxXi-00058h-Dh for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Feb 2016 08:33:02 +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) (envelope-from ) id 1aVxXh-00058b-Sh for pgsql-hackers@postgresql.org; Wed, 17 Feb 2016 08:33:01 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aVxXf-0004Qe-Ax for pgsql-hackers@postgresql.org; Wed, 17 Feb 2016 08:33:01 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id EE2473AFE55; Wed, 17 Feb 2016 09:32:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (pD9F6ACF0.dip0.t-ipconnect.de [217.246.172.240]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 25BED3AFE53; Wed, 17 Feb 2016 09:32:56 +0100 (CET) Received: by anarazel.de (Postfix, from userid 1000) id AD5CA102C7F; Wed, 17 Feb 2016 09:32:55 +0100 (CET) Date: Wed, 17 Feb 2016 09:32:55 +0100 From: Andres Freund To: Tom Lane Cc: Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Introduce group locking to prevent parallel processes from deadl Message-ID: <20160217083255.GJ25464@awork2.anarazel.de> References: <27041.1455388321@sss.pgh.pa.us> <22842.1455474783@sss.pgh.pa.us> <30320.1455488783@sss.pgh.pa.us> <13398.1455656090@sss.pgh.pa.us> <20298.1455683627@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20298.1455683627@sss.pgh.pa.us> X-Pg-Spam-Score: -4.2 (----) 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-02-16 23:33:47 -0500, Tom Lane wrote: > Yes, exactly. I'm not certain if there are any real platforms where > a pointer-sized write wouldn't be atomic (it sure sounds inefficient > for that to be true), but we have not assumed that to date and I'd > just as soon not start here. FWIW, there's no sizeof(void*) == 8 platform supported by PG where aligned 8 byte writes aren't atomic. There are a number of supported platforms with sizeof(void*) == 4 without atomic 8 byte writes though. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers