Replace most StaticAssertStmt() with StaticAssertDecl() master github/master
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Dec 2025 07:58:34 +0000 (08:58 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 12 Dec 2025 09:06:40 +0000 (10:06 +0100)
commit493eb0da31be4520252e1af723342dc7ead0c3e5
treeafb3274176a5b028929b3a47b51afd5228b2c0d2
parent87a350e1f284bb99591f9185c0be0ae28899f38a
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%40mail.gmail.com
contrib/hstore/hstore_compat.c
src/backend/access/heap/vacuumlazy.c
src/backend/access/table/tableam.c
src/backend/access/transam/parallel.c
src/backend/storage/buffer/bufmgr.c
src/backend/storage/file/fd.c
src/backend/storage/ipc/waiteventset.c
src/backend/utils/adt/mac.c
src/backend/utils/cache/inval.c
src/include/storage/fd.h