Re: pgsql: Improve 64bit atomics support.

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Improve 64bit atomics support.
Date: 2017-04-08 00:19:09
Message-ID: 20170408001909.epnw3vnp2g5thpaf@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 2017-04-08 02:16:34 +0300, Alexander Korotkov wrote:
> On Sat, Apr 8, 2017 at 12:50 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> > Additionally optimize reads/writes to 64bit on a number of platforms
> > where aligned writes of that size are atomic. This can now be tested
> > with PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY.
> >
>
> BTW, PG_HAVE_8BYTE_SINGLE_COPY_ATOMICITY is never used.
>
> It's likely you meant something like this.

Gah, indeed. Pushed a fix, but you're more than welcome to verify...

- Andres

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-04-08 01:23:51 Re: pgsql: Use SASLprep to normalize passwords for SCRAM authentication.
Previous Message Andres Freund 2017-04-08 00:18:35 Re: [COMMITTERS] pgsql: Improve 64bit atomics support.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-04-08 00:28:29 Re: SCRAM authentication, take three
Previous Message Andres Freund 2017-04-08 00:18:35 Re: [COMMITTERS] pgsql: Improve 64bit atomics support.