pgsql: Add macro to cast away volatile without allowing changes tounde - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add macro to cast away volatile without allowing changes tounde
Date
Msg-id E1h8LFa-0001Kn-Cz@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add macro to cast away volatile without allowing changes to underlying type

This adds unvolatize(), which works just like unconstify() but for volatile.

Discussion: https://www.postgresql.org/message-id/flat/7a5cbea7-b8df-e910-0f10-04014bcad701%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/481018f2804065cb5ed1cde75b7c0596aeef959a

Modified Files
--------------
src/backend/postmaster/pgstat.c    | 2 +-
src/backend/storage/ipc/pmsignal.c | 2 +-
src/include/c.h                    | 8 +++++++-
3 files changed, 9 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: tableam: Add and use table_fetch_row_version().
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Align timestamps in pg_regress output