git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c9238ad)
Replace AssertMacro() with Assert() when not in macro
2025年2月11日 10:12:05 +0000 (11:12 +0100)
2025年2月11日 10:12:05 +0000 (11:12 +0100)
This was forgotten to be changed in commit 9c727360bcc.


diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 46b4e0d90f37b3636824481034011844edadd4be..7c1e4316dded7b3f2d95efd9e0940fff647550f7 100644 (file)
--- 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;
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /