diff --git a/src/test/modules/test_ddl_deparse/test_ddl_deparse.c b/src/test/modules/test_ddl_deparse/test_ddl_deparse.c
index 5ae17f866ed8e6bd1764fe19fd90b29bf2007089..e2dc4b5c768ce4d5d47c0646c1e1c2a1fa45cfd3 100644
--- a/src/test/modules/test_ddl_deparse/test_ddl_deparse.c
+++ b/src/test/modules/test_ddl_deparse/test_ddl_deparse.c
@@ -152,9 +152,6 @@ get_altertable_subcmdtypes(PG_FUNCTION_ARGS)
 			case AT_ReAddConstraint:
 				strtype = "(re) ADD CONSTRAINT";
 				break;
-			case AT_ReAddComment:
-				strtype = "(re) ADD COMMENT";
-				break;
 			case AT_AlterConstraint:
 				strtype = "ALTER CONSTRAINT";
 				break;