pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Introduce group locking to prevent parallel processes from deadl
Date: Wed, 17 Feb 2016 09:32:55 +0100
Message-ID: <20160217083255.GJ25464@awork2.anarazel.de> (raw)
In-Reply-To: <20298.1455683627@sss.pgh.pa.us>
References: <E1aSRBD-0006kV-CQ@gemulon.postgresql.org>
	<27041.1455388321@sss.pgh.pa.us>
	<CA+TgmoZZ4jDSxwYpr-EG+pxjt=3wU2UTwBQuOJ6HkmJawuZEmw@mail.gmail.com>
	<22842.1455474783@sss.pgh.pa.us>
	<CA+Tgmoazp7fh9LYFOPQ=kYk320it7ioxMuRuAO8YjVnvQVCShA@mail.gmail.com>
	<30320.1455488783@sss.pgh.pa.us>
	<CA+Tgmob6OM-2F+nzJyY22D0nF3WDEBvVzHgFtCnP89K=vkGcQg@mail.gmail.com>
	<13398.1455656090@sss.pgh.pa.us>
	<CA+TgmoZRMVDwGxzXmx7J7ugs0KJmpMn9-_pxDbLAN+NpkEFSYA@mail.gmail.com>
	<20298.1455683627@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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



view thread (25+ messages)  latest in thread

Message-ID: <20160217083255.GJ25464@awork2.anarazel.de>
Permalink:  ../20160217083255.GJ25464@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20160217083255.GJ25464@awork2.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Introduce group locking to prevent parallel processes from deadl
  In-Reply-To: <20160217083255.GJ25464@awork2.anarazel.de>
  References: <E1aSRBD-0006kV-CQ@gemulon.postgresql.org> <27041.1455388321@sss.pgh.pa.us> <CA+TgmoZZ4jDSxwYpr-EG+pxjt=3wU2UTwBQuOJ6HkmJawuZEmw@mail.gmail.com> <22842.1455474783@sss.pgh.pa.us> <CA+Tgmoazp7fh9LYFOPQ=kYk320it7ioxMuRuAO8YjVnvQVCShA@mail.gmail.com> <30320.1455488783@sss.pgh.pa.us> <CA+Tgmob6OM-2F+nzJyY22D0nF3WDEBvVzHgFtCnP89K=vkGcQg@mail.gmail.com> <13398.1455656090@sss.pgh.pa.us> <CA+TgmoZRMVDwGxzXmx7J7ugs0KJmpMn9-_pxDbLAN+NpkEFSYA@mail.gmail.com> <20298.1455683627@sss.pgh.pa.us> <20160217083255.GJ25464@awork2.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox