pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove volatile qualifiers from pg_stat_statements.c.
Date: Tue, 06 Aug 2024 15:57:54 +0000
Message-ID: <E1sbMZO-002yio-Es@gemulon.postgresql.org> (raw)

Remove volatile qualifiers from pg_stat_statements.c.

Prior to commit 0709b7ee72, which changed the spinlock primitives
to function as compiler barriers, access to variables within a
spinlock-protected section required using a volatile pointer, but
that is no longer necessary.

Reviewed-by: Bertrand Drouvot, Michael Paquier
Discussion: https://postgr.es/m/Zqkv9iK7MkNS0KaN%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8928817769de0d81758bc760333d3056c67b63c1

Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 229 ++++++++++--------------
1 file changed, 95 insertions(+), 134 deletions(-)



Message-ID: <E1sbMZO-002yio-Es@gemulon.postgresql.org>
Permalink:  ../E1sbMZO-002yio-Es@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sbMZO-002yio-Es@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove volatile qualifiers from pg_stat_statements.c.
  In-Reply-To: <E1sbMZO-002yio-Es@gemulon.postgresql.org>

* 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