aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2022-03-31 15:27:09 -0400
committerAndrew Dunstan <andrew@dunslane.net>2022-03-31 15:45:25 -0400
commit9f91344223aad903ff70301f40183691a89f6cd4 (patch)
tree6677c0ec0a118aa2f98cc60a6eeb3b86c6d16f3b /src
parent49082c2cc3d8167cca70cfe697afb064710828ca (diff)
downloadpostgresql-9f91344223aad903ff70301f40183691a89f6cd4.tar.gz
postgresql-9f91344223aad903ff70301f40183691a89f6cd4.zip
Fix comments with "a expression"
Diffstat (limited to 'src')
-rw-r--r--src/backend/optimizer/path/equivclass.c2
-rw-r--r--src/backend/parser/parse_expr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/path/equivclass.c b/src/backend/optimizer/path/equivclass.c
index 1681a55c3dc..34c5ab1cb60 100644
--- a/src/backend/optimizer/path/equivclass.c
+++ b/src/backend/optimizer/path/equivclass.c
@@ -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);
diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c
index 31f0c9f693d..911f355460b 100644
--- a/src/backend/parser/parse_expr.c
+++ b/src/backend/parser/parse_expr.c
@@ -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)