aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Grittner <kgrittn@postgresql.org>2016-04-09 09:07:42 -0500
committerKevin Grittner <kgrittn@postgresql.org>2016-04-09 09:07:42 -0500
commit381200be4b565292eba6f62200248cb775f06940 (patch)
treeb3f67d39e5a0243f449ddf520df965873f233c93
parent56dffb5a73ab157fc8d35a76c1170d656a051f14 (diff)
downloadpostgresql-381200be4b565292eba6f62200248cb775f06940.tar.gz
postgresql-381200be4b565292eba6f62200248cb775f06940.zip
Fix typo in C comment.
-rw-r--r--src/include/storage/bufpage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/storage/bufpage.h b/src/include/storage/bufpage.h
index bdf7b0d3c58..63053d469a6 100644
--- a/src/include/storage/bufpage.h
+++ b/src/include/storage/bufpage.h
@@ -301,10 +301,10 @@ typedef PageHeaderData *PageHeader;
* Using assertions, validate that the page special pointer is OK.
*
* This is intended to catch use of the pointer before page initialization.
- * It is implemented as a function do to the limitations of the MSVC compiler,
- * which choked on doing all these tests within another macro. We return true
- * so that MacroAssert() can be used while still getting the specifics from
- * the macro failure within this function.
+ * It is implemented as a function due to the limitations of the MSVC
+ * compiler, which choked on doing all these tests within another macro. We
+ * return true so that MacroAssert() can be used while still getting the
+ * specifics from the macro failure within this function.
*/
static inline bool
PageValidateSpecialPointer(Page page)