8000 Fix some typos and some incorrectly duplicated words · postgrespro/postgres@eef231e · GitHub
[go: up one dir, main page]

Skip to content

Commit eef231e

Browse files
committed
Fix some typos and some incorrectly duplicated words
Author: Justin Pryzby Reviewed-by: David Rowley Discussion: https://postgr.es/m/ZD3D1QxoccnN8A1V@telsasoft.com
1 parent b4dbf3e commit eef231e

File tree

20 files changed

+22
-22
lines changed

20 files changed

+22
-22
lines changed

contrib/test_decoding/expected/ddl.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
428428
-- test whether a known, but not yet logged toplevel xact, followed by a
429429
-- subxact commit is handled correctly
430430
BEGIN;
431-
SELECT pg_current_xact_id() != '0'; -- so no fixed xid apears in the outfile
431+
SELECT pg_current_xact_id() != '0'; -- so no fixed xid appears in the outfile
432432
?column?
433433
----------
434434
t

contrib/test_decoding/sql/ddl.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
236236
-- test whether a known, but not yet logged toplevel xact, followed by a
237237
-- subxact commit is handled correctly
238238
BEGIN;
239-
SELECT pg_current_xact_id() != '0'; -- so no fixed xid apears in the outfile
239+
SELECT pg_current_xact_id() != '0'; -- so no fixed xid appears in the outfile
240240
SAVEPOINT a;
241241
INSERT INTO tr_sub(path) VALUES ('4-top-1-#1');
242242
RELEASE SAVEPOINT a;

doc/src/sgml/user-manag.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ ALTER ROLE myname SET enable_indexscan TO off;
346346
role using <literal>SET ROLE</literal>. However, since any user who has
347347
<literal>ADMIN OPTION</literal> on a role can grant membership in that
348348
role to any other user, the <literal>CREATEROLE</literal> user can gain
349-
access to the created role by simplying granting that role back to
349+
access to the created role by simply granting that role back to
350350
themselves with the <literal>INHERIT</literal> and/or <literal>SET</literal>
351351
options. Thus, the fact that privileges are not inherited by default nor
352352
is <literal>SET ROLE</literal> granted by default is a safeguard against

src/backend/optimizer/path/allpaths.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4051,7 +4051,7 @@ recurse_push_qual(Node *setOp, Query *topquery,
40514051
*
40524052
* extra_used_attrs can be passed as non-NULL to mark any columns (offset by
40534053
* FirstLowInvalidHeapAttributeNumber) that we should not remove. This
4054-
* parameter is modifed by the function, so callers must make a copy if they
4054+
* parameter is modified by the function, so callers must make a copy if they
40554055
* need to use the passed in Bitmapset after calling this function.
40564056
*
40574057
* To avoid affecting column numbering in the targetlist, we don't physically

src/backend/optimizer/util/plancat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ get_relation_info(PlannerInfo *root, Oid relationObjectId, bool inhparent,
436436
* the number-of-tuples estimate to equal the parent table; if it
437437
* is partial then we have to use the same methods as we would for
438438
* a table, except we can be sure that the index is not larger
439-
* than the table. We must ignore partitioned indexes here as as
439+
* than the table. We must ignore partitioned indexes here as
440440
* there are not physical indexes.
441441
*/
442442
if (indexRelation->rd_rel->relkind != RELKIND_PARTITIONED_INDEX)

src/backend/replication/pgoutput/pgoutput.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@ static void
17711771
pgoutput_stream_stop(struct LogicalDecodingContext *ctx,
17721772
ReorderBufferTXN *txn)
17731773
{
1774-
/* we should be streaming a trasanction */
1774+
/* we should be streaming a transaction */
17751775
Assert(in_streaming);
17761776

17771777
OutputPluginPrepareWrite(ctx, true);

src/backend/utils/adt/xid8funcs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ pg_xact_status(PG_FUNCTION_ARGS)
678678
Assert(TransactionIdIsValid(xid));
679679

680680
/*
681-
* Like when doing visiblity checks on a row, check whether the
681+
* Like when doing visibility checks on a row, check whether the
682682
* transaction is still in progress before looking into the CLOG.
683683
* Otherwise we would incorrectly return "committed" for a transaction
684684
* that is committing and has already updated the CLOG, but hasn't

src/bin/pg_amcheck/t/002_nonesuch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
qr/pg_amcheck: warning: no connectable databases to check matching "no_such_database\.public\.foo_idx"/,
325325
qr/pg_amcheck: error: no relations to check/,
326326
],
327-
'checking otherwise existent objets in the wrong databases');
327+
'checking otherwise existent objects in the wrong databases');
328328

329329

330330
#########################################

src/bin/pg_basebackup/bbstreamer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ bbstreamer_buffer_bytes(bbstreamer *streamer, const char **data, int *len,
165165
}
166166

167167
/*
168-
* This is a convenence method for use when implementing a bbstreamer; it is
168+
* This is a convenience method for use when implementing a bbstreamer; it is
169169
* not for use by outsider callers. It attempts to add enough data to the
170170
* bbstreamer's buffer to reach a length of target_bytes and adjusts '*len'
171171
* and '*data' accordingly. It returns true if the target length has been

src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,11 +997,11 @@ dumpRoleMembership(PGconn *conn)
997997
/*
998998
* We can't dump these GRANT commands in arbitrary order, because a role
999999
* that is named as a grantor must already have ADMIN OPTION on the
1000-
* role for which it is granting permissions, except for the boostrap
1000+
* role for which it is granting permissions, except for the bootstrap
10011001
* superuser, who can always be named as the grantor.
10021002
*
10031003
* We handle this by considering these grants role by role. For each role,
1004-
* we initially consider the only allowable grantor to be the boostrap
1004+
* we initially consider the only allowable grantor to be the bootstrap
10051005
* superuser. Every time we grant ADMIN OPTION on the role to some user,
10061006
* that user also becomes an allowable grantor. We make repeated passes
10071007
* over the grants for the role, each time dumping those whose grantors

0 commit comments

Comments
 (0)
0