pgsql: Remove volatile qualifiers from pg_stat_statements.c. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Remove volatile qualifiers from pg_stat_statements.c.
Date
Msg-id E1sbMZO-002yio-Es@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix comments in instr_time.h and remove an unneeded cast to int6
Next
From: Tom Lane
Date:
Subject: pgsql: Clean up handling of client_encoding GUC in parallel workers.