pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Replace most StaticAssertStmt() with StaticAssertDecl()
Date: Fri, 12 Dec 2025 09:11:26 +0000
Message-ID: <E1vTzBN-000JDe-2G@gemulon.postgresql.org> (raw)

Replace most StaticAssertStmt() with StaticAssertDecl()

Similar to commit 75f49221c22, it is preferable to use
StaticAssertDecl() instead of StaticAssertStmt() when possible.

Discussion: https://www.postgresql.org/message-id/flat/CA%2BhUKGKvr0x_oGmQTUkx%3DODgSksT2EtgCA6LmGx_jQFG%3DsDUpg...

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(-)



Message-ID: <E1vTzBN-000JDe-2G@gemulon.postgresql.org>
Permalink:  ../E1vTzBN-000JDe-2G@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vTzBN-000JDe-2G@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Replace most StaticAssertStmt() with StaticAssertDecl()
  In-Reply-To: <E1vTzBN-000JDe-2G@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