Fix typos in operatorcmds.c
authorMichael Paquier <michael@paquier.xyz>
Mon, 10 May 2021 06:45:54 +0000 (15:45 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 10 May 2021 06:45:54 +0000 (15:45 +0900)
Author: Kyotaro Horiguchi, Justin Pryzby
Discussion: https://postgr.es/m/20210428.173633.1525059946206239295.horikyota.ntt@gmail.com

src/backend/commands/operatorcmds.c

index 809043c5d195d2319da1446d4fd6833845d97976..fbd7d8d062f73eabc54a4081e4c036c2c21ae087 100644 (file)
@@ -265,7 +265,7 @@ DefineOperator(List *names, List *parameters)
 }
 
 /*
- * Look up a restriction estimator function ny name, and verify that it has
+ * Look up a restriction estimator function by name, and verify that it has
  * the correct signature and we have the permissions to attach it to an
  * operator.
  */
@@ -300,7 +300,7 @@ ValidateRestrictionEstimator(List *restrictionName)
 }
 
 /*
- * Look up a join estimator function ny name, and verify that it has the
+ * Look up a join estimator function by name, and verify that it has the
  * correct signature and we have the permissions to attach it to an
  * operator.
  */