diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/tablecmds.c | 2 | ||||
-rw-r--r-- | src/backend/executor/execExpr.c | 2 | ||||
-rw-r--r-- | src/backend/postmaster/bgworker.c | 2 | ||||
-rw-r--r-- | src/backend/replication/basebackup.c | 2 | ||||
-rw-r--r-- | src/include/lib/simplehash.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 6162fb018c7..037d457c3d4 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -16846,7 +16846,7 @@ ATExecDetachPartition(Relation rel, RangeVar *name) list_free_deep(fks); /* - * Any sub-constrains that are in the referenced-side of a larger + * Any sub-constraints that are in the referenced-side of a larger * constraint have to be removed. This partition is no longer part of the * key space of the constraint. */ diff --git a/src/backend/executor/execExpr.c b/src/backend/executor/execExpr.c index 1370ffec509..c6a77bd66fa 100644 --- a/src/backend/executor/execExpr.c +++ b/src/backend/executor/execExpr.c @@ -2366,7 +2366,7 @@ get_last_attnums_walker(Node *node, LastAttnumInfo *info) * evaluation of the expression will have the same type of slot, with an * equivalent descriptor. * - * Returns true if the the deforming step is required, false otherwise. + * Returns true if the deforming step is required, false otherwise. */ static bool ExecComputeSlotInfo(ExprState *state, ExprEvalStep *op) diff --git a/src/backend/postmaster/bgworker.c b/src/backend/postmaster/bgworker.c index 6c684b5e12b..beb5e85434c 100644 --- a/src/backend/postmaster/bgworker.c +++ b/src/backend/postmaster/bgworker.c @@ -1149,7 +1149,7 @@ WaitForBackgroundWorkerShutdown(BackgroundWorkerHandle *handle) * Instruct the postmaster to terminate a background worker. * * Note that it's safe to do this without regard to whether the worker is - * still running, or even if the worker may already have existed and been + * still running, or even if the worker may already have exited and been * unregistered. */ void diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c index 50a9e9c2804..f5b2411d549 100644 --- a/src/backend/replication/basebackup.c +++ b/src/backend/replication/basebackup.c @@ -1157,7 +1157,7 @@ AddFileToManifest(manifest_info *manifest, const char *spcoid, } /* - * Each file's entry need to be separated from any entry that follows by a + * Each file's entry needs to be separated from any entry that follows by a * comma, but there's no comma before the first one or after the last one. * To make that work, adding a file to the manifest starts by terminating * the most recently added line, with a comma if appropriate, but does not diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h index 8cb03cda6cc..f7af921f5ac 100644 --- a/src/include/lib/simplehash.h +++ b/src/include/lib/simplehash.h @@ -633,7 +633,7 @@ restart: /* shift forward, starting at last occupied element */ /* - * TODO: This could be optimized to be one memcpy in may cases, + * TODO: This could be optimized to be one memcpy in many cases, * excepting wrapping around at the end of ->data. Hasn't shown up * in profiles so far though. */ |