| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove volatile qualifiers from pg_stat_statements.c. |
| Date: | 2024-08-06 15:57:54 |
| Message-ID: | E1sbMZO-002yio-Es@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2024-08-06 16:22:01 | pgsql: Clean up handling of client_encoding GUC in parallel workers. |
| Previous Message | Heikki Linnakangas | 2024-08-06 11:28:55 | pgsql: Fix comments in instr_time.h and remove an unneeded cast to int6 |