diff options
| author | David Rowley | 2023-04-18 02:03:30 +0000 |
|---|---|---|
| committer | David Rowley | 2023-04-18 02:03:49 +0000 |
| commit | eef231e8161eb8031a928fe48134ef25ab81fe5e (patch) | |
| tree | 17f1882a677a251f2638fb1893ec2a6fca1885d3 /src/backend | |
| parent | b4dbf3e924b2556acbe103dc61ac71f9985ff24f (diff) | |
Fix some typos and some incorrectly duplicated words
Author: Justin Pryzby
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/ZD3D1QxoccnN8A1V@telsasoft.com
Diffstat (limited to 'src/backend')
| -rw-r--r-- | src/backend/optimizer/path/allpaths.c | 2 | ||||
| -rw-r--r-- | src/backend/optimizer/util/plancat.c | 2 | ||||
| -rw-r--r-- | src/backend/replication/pgoutput/pgoutput.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/adt/xid8funcs.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index 244957a2483..9bdc70c702e 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -4051,7 +4051,7 @@ recurse_push_qual(Node *setOp, Query *topquery, * * extra_used_attrs can be passed as non-NULL to mark any columns (offset by * FirstLowInvalidHeapAttributeNumber) that we should not remove. This - * parameter is modifed by the function, so callers must make a copy if they + * parameter is modified by the function, so callers must make a copy if they * need to use the passed in Bitmapset after calling this function. * * To avoid affecting column numbering in the targetlist, we don't physically diff --git a/src/backend/optimizer/util/plancat.c b/src/backend/optimizer/util/plancat.c index e3824efe9b5..65adf04c4eb 100644 --- a/src/backend/optimizer/util/plancat.c +++ b/src/backend/optimizer/util/plancat.c @@ -436,7 +436,7 @@ get_relation_info(PlannerInfo *root, Oid relationObjectId, bool inhparent, * the number-of-tuples estimate to equal the parent table; if it * is partial then we have to use the same methods as we would for * a table, except we can be sure that the index is not larger - * than the table. We must ignore partitioned indexes here as as + * than the table. We must ignore partitioned indexes here as * there are not physical indexes. */ if (indexRelation->rd_rel->relkind != RELKIND_PARTITIONED_INDEX) diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c index ebaf555d569..f88389de847 100644 --- a/src/backend/replication/pgoutput/pgoutput.c +++ b/src/backend/replication/pgoutput/pgoutput.c @@ -1771,7 +1771,7 @@ static void pgoutput_stream_stop(struct LogicalDecodingContext *ctx, ReorderBufferTXN *txn) { - /* we should be streaming a trasanction */ + /* we should be streaming a transaction */ Assert(in_streaming); OutputPluginPrepareWrite(ctx, true); diff --git a/src/backend/utils/adt/xid8funcs.c b/src/backend/utils/adt/xid8funcs.c index 5d79f838a3e..24271dfff73 100644 --- a/src/backend/utils/adt/xid8funcs.c +++ b/src/backend/utils/adt/xid8funcs.c @@ -678,7 +678,7 @@ pg_xact_status(PG_FUNCTION_ARGS) Assert(TransactionIdIsValid(xid)); /* - * Like when doing visiblity checks on a row, check whether the + * Like when doing visibility checks on a row, check whether the * transaction is still in progress before looking into the CLOG. * Otherwise we would incorrectly return "committed" for a transaction * that is committing and has already updated the CLOG, but hasn't |
