Fix comments with "a expression"
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 31 Mar 2022 19:27:09 +0000 (15:27 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 31 Mar 2022 19:45:25 +0000 (15:45 -0400)
src/backend/optimizer/path/equivclass.c
src/backend/parser/parse_expr.c

index 1681a55c3dc399ea919470fd7ed7e368f173640d..34c5ab1cb603d5f9b13c4d0e7e98e9fe03abd82b 100644 (file)
@@ -1001,7 +1001,7 @@ relation_can_be_sorted_early(PlannerInfo *root, RelOptInfo *rel,
    }
 
    /*
-    * Try to find a expression computable from the reltarget.
+    * Try to find an expression computable from the reltarget.
     */
    em = find_computable_ec_member(root, ec, target->exprs, rel->relids,
                                   require_parallel_safe);
index 31f0c9f693d28c2b160fd24a062b8e0a72781e59..911f355460b18e87e52b5d3a1e32e539722d3821 100644 (file)
@@ -4251,7 +4251,7 @@ transformJsonFuncExprOutput(ParseState *pstate,   JsonFuncExpr *func,
 }
 
 /*
- * Coerce a expression in JSON DEFAULT behavior to the target output type.
+ * Coerce an expression in JSON DEFAULT behavior to the target output type.
  */
 static Node *
 coerceDefaultJsonExpr(ParseState *pstate, JsonExpr *jsexpr, Node *defexpr)