Re: remove volatile qualifiers from pg_stat_statements - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: remove volatile qualifiers from pg_stat_statements
Date
Msg-id ZrJIdX7AMLxRPTwy@nathan
Whole thread Raw
In response to Re: remove volatile qualifiers from pg_stat_statements  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Tue, Aug 06, 2024 at 04:04:01PM +0900, Michael Paquier wrote:
> On Wed, Jul 31, 2024 at 07:01:38AM +0000, Bertrand Drouvot wrote:
>> I share the same understanding and I think those can be removed.
>> 
>> The patch LGTM.
> 
> That sounds about right.  All the volatile references we have here
> have been kept under the assumption that a memory barrier is required.
> As we hold spin locks in these areas, that should not be necessary
> anyway.  So LGTM as well.

Committed, thanks.

-- 
nathan



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Support multi-column renaming?
Next
From: Yugo Nagata
Date:
Subject: Re: Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW