| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Replace most StaticAssertStmt() with StaticAssertDecl() |
| Date: | 2025-12-12 09:11:26 |
| Message-ID: | E1vTzBN-000JDe-2G@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Replace most StaticAssertStmt() with StaticAssertDecl()
Similar to commit 75f49221c22, it is preferable to use
StaticAssertDecl() instead of StaticAssertStmt() when possible.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/493eb0da31be4520252e1af723342dc7ead0c3e5
Modified Files
--------------
contrib/hstore/hstore_compat.c | 9 ++++-----
src/backend/access/heap/vacuumlazy.c | 5 +++--
src/backend/access/table/tableam.c | 6 +++---
src/backend/access/transam/parallel.c | 7 ++++---
src/backend/storage/buffer/bufmgr.c | 4 ++--
src/backend/storage/file/fd.c | 17 -----------------
src/backend/storage/ipc/waiteventset.c | 3 ++-
src/backend/utils/adt/mac.c | 2 +-
src/backend/utils/cache/inval.c | 2 +-
src/include/storage/fd.h | 16 ++++++++++++++++
10 files changed, 36 insertions(+), 35 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2025-12-12 13:27:06 | pgsql: Reject opclass options in ON CONFLICT clause |
| Previous Message | Heikki Linnakangas | 2025-12-12 08:51:18 | pgsql: Never store 0 as the nextMXact |