aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-02-11 11:12:05 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-02-11 11:12:05 +0100
commit6998db59c2959c4f280a9088054e6dbf7178efe0 (patch)
tree21ada0c6054a13a6a7430dd027793cfa2e892b5c /src
parentc9238ad853258c3f72d8671df5690f526c973f68 (diff)
downloadpostgresql-6998db59c2959c4f280a9088054e6dbf7178efe0.tar.gz
postgresql-6998db59c2959c4f280a9088054e6dbf7178efe0.zip
Replace AssertMacro() with Assert() when not in macro
This was forgotten to be changed in commit 9c727360bcc.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/bufmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 46b4e0d90f3..7c1e4316dde 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -384,7 +384,7 @@ BufferGetBlock(Buffer buffer)
static inline Size
BufferGetPageSize(Buffer buffer)
{
- AssertMacro(BufferIsValid(buffer));
+ Assert(BufferIsValid(buffer));
return (Size) BLCKSZ;
}