diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c
index 2734ec865823a1501b7fc0dfcc0699f8c38f98ee..8fc69ae72022a057ae35dc668dce60c37357596e 100644
--- a/src/backend/catalog/heap.c
+++ b/src/backend/catalog/heap.c
@@ -1957,7 +1957,7 @@ StoreRelCheck(Relation rel, char *ccname, Node *expr,
 						  ccsrc,	/* Source form of check constraint */
 						  is_local,		/* conislocal */
 						  inhcount,		/* coninhcount */
-						  is_no_inherit);	/* connoinherit */
+						  is_no_inherit);	/* connoinherit */
 
 	pfree(ccbin);
 	pfree(ccsrc);