aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-05-26 18:28:18 +0530
committerAmit Kapila <akapila@postgresql.org>2019-05-26 18:28:18 +0530
commit9679345f3c5ec071f63db358581e28f06c8744a7 (patch)
tree12365b3337578d66f41a58d0e2c2966d9eb3acac /src/backend/commands
parent41205719d34969018f708baa70d9d06dae0c0d08 (diff)
downloadpostgresql-9679345f3c5ec071f63db358581e28f06c8744a7.tar.gz
postgresql-9679345f3c5ec071f63db358581e28f06c8744a7.zip
Fix typos.
Reported-by: Alexander Lakhin Author: Alexander Lakhin Reviewed-by: Amit Kapila and Tom Lane Discussion: https://postgr.es/m/7208de98-add8-8537-91c0-f8b089e2928c@gmail.com
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/copy.c2
-rw-r--r--src/backend/commands/tablecmds.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c
index a8ff3049094..eca0be1ff96 100644
--- a/src/backend/commands/copy.c
+++ b/src/backend/commands/copy.c
@@ -2934,7 +2934,7 @@ CopyFrom(CopyState cstate)
else if (contain_volatile_functions(cstate->whereClause))
{
/*
- * Can't support multi-inserts if there are any volatile funcation
+ * Can't support multi-inserts if there are any volatile function
* expressions in WHERE clause. Similarly to the trigger case above,
* such expressions may query the table we're inserting into.
*/
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index c9b8857d306..e34d4ccc148 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -3574,7 +3574,7 @@ AlterTableGetLockLevel(List *cmds)
/*
* Removing constraints can affect SELECTs that have been
- * optimised assuming the constraint holds true. See also
+ * optimized assuming the constraint holds true. See also
* CloneFkReferenced.
*/
case AT_DropConstraint: /* as DROP INDEX */