diff --git a/src/backend/catalog/namespace.c b/src/backend/catalog/namespace.c
index 8cf8b1764e1f1e4823785b834b0e45a46948ffd7..6644c6fc799d8b805ec313d1463dd1adf461d1e9 100644
--- a/src/backend/catalog/namespace.c
+++ b/src/backend/catalog/namespace.c
@@ -2769,8 +2769,8 @@ LookupCreationNamespace(const char *nspname)
 /*
  * Common checks on switching namespaces.
  *
- * We complain if (1) either the old or new namespaces is a temporary schema
- * (or temporary toast schema), or (3) either the old or new namespaces is the
+ * We complain if either the old or new namespaces is a temporary schema
+ * (or temporary toast schema), or if either the old or new namespaces is the
  * TOAST schema.
  */
 void