Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteef231e

Browse files
committed
Fix some typos and some incorrectly duplicated words
Author: Justin PryzbyReviewed-by: David RowleyDiscussion:https://postgr.es/m/ZD3D1QxoccnN8A1V@telsasoft.com
1 parentb4dbf3e commiteef231e

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 xidapears in the outfile
431+
SELECT pg_current_xact_id() != '0'; -- so no fixed xidappears 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 xidapears in the outfile
239+
SELECT pg_current_xact_id()!='0';-- so no fixed xidappears 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 bysimplying granting that role back to
349+
access to the created role bysimply 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 ismodifed by the function, so callers must make a copy if they
4054+
* parameter ismodified 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(structLogicalDecodingContext*ctx,
17721772
ReorderBufferTXN*txn)
17731773
{
1774-
/* we should be streaming atrasanction */
1774+
/* we should be streaming atransaction */
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 doingvisiblity checks on a row, check whether the
681+
* Like when doingvisibility 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 existentobjets in the wrong databases');
327+
'checking otherwise existentobjects 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 aconvenence method for use when implementing a bbstreamer; it is
168+
* This is aconvenience 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 theboostrap
1000+
* role for which it is granting permissions, except for thebootstrap
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 theboostrap
1004+
* we initially consider the only allowable grantor to be thebootstrap
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

‎src/bin/pgbench/pgbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3541,7 +3541,7 @@ printVerboseErrorMessages(CState *st, pg_time_usec_t *now, bool is_retry)
35413541
"ends the failed transaction"));
35423542
appendPQExpBuffer(buf," (try %u",st->tries);
35433543

3544-
/* Print max_tries if it is notunlimitted. */
3544+
/* Print max_tries if it is notunlimited. */
35453545
if (max_tries)
35463546
appendPQExpBuffer(buf,"/%u",max_tries);
35473547

@@ -5303,7 +5303,7 @@ GetTableInfo(PGconn *con, bool scale_given)
53035303
pg_log_error_hint("Perhaps you need to do initialization (\"pgbench -i\") in database \"%s\".",PQdb(con));
53045304
exit(1);
53055305
}
5306-
else/*PQntupes(res) == 1 */
5306+
else/*PQntuples(res) == 1 */
53075307
{
53085308
/* normal case, extract partition information */
53095309
if (PQgetisnull(res,0,1))

‎src/include/access/tableam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ table_relation_toast_am(Relation rel)
18951895
*
18961896
* toastrel is the relation in which the toasted value is stored.
18971897
*
1898-
* valueididentifes which toast value is to be fetched. For the heap,
1898+
* valueididentifies which toast value is to be fetched. For the heap,
18991899
* this corresponds to the values stored in the chunk_id column.
19001900
*
19011901
* attrsize is the total size of the toast value to be fetched.

‎src/include/backup/basebackup_target.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef struct BaseBackupTargetHandle BaseBackupTargetHandle;
2626
* and either throws an error (if the target detail is not valid or some other
2727
* problem, such as a permissions issue, is detected) or returns a pointer to
2828
* the data that will be needed to create a bbsink implementing that target.
29-
* The secondargumnt will be NULL if the TARGET_DETAIL option to the
29+
* The secondargument will be NULL if the TARGET_DETAIL option to the
3030
* BASE_BACKUP command was not specified.
3131
*
3232
* 'get_sink' is a function that creates the bbsink. The first argument

‎src/include/replication/output_plugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ typedef bool (*LogicalDecodeFilterPrepareCB) (struct LogicalDecodingContext *ctx
112112
constchar*gid);
113113

114114
/*
115-
* Callback called for every BEGIN of a preparedtrnsaction.
115+
* Callback called for every BEGIN of a preparedtransaction.
116116
*/
117117
typedefvoid (*LogicalDecodeBeginPrepareCB) (structLogicalDecodingContext*ctx,
118118
ReorderBufferTXN*txn);

‎src/include/storage/s_lock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ tas(volatile slock_t *lock)
321321
/*
322322
* Solaris has always run sparc processors in TSO (total store) mode, but
323323
* linux didn't use to and the *BSDs still don't. So, be careful about
324-
* acquire/release semantics. The CPU will treat superfluousmembars as
324+
* acquire/release semantics. The CPU will treat superfluousmembers as
325325
* NOPs, so it's just code space.
326326
*/
327327
#defineHAS_TEST_AND_SET

‎src/test/isolation/specs/serializable-parallel-3.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Exercise the case where a read-only serializable transaction has
22
# SXACT_FLAG_RO_SAFE set in a parallel query. This variant is like
3-
# two copies of #2 running at the same time, andexcercises the case
3+
# two copies of #2 running at the same time, andexercises the case
44
# where another transaction has the same xmin, and it is the oldest.
55

66
setup

‎src/test/modules/unsafe_tests/expected/guc_privs.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ GRANT SET, ALTER SYSTEM ON PARAMETER
337337
autovacuum_work_mem, hash_mem_multiplier, max_stack_depth,
338338
shared_buffers, temp_file_limit, work_mem
339339
TO regress_host_resource_admin;
340-
-- Check the new role now hasprivilges on parameters
340+
-- Check the new role now hasprivileges on parameters
341341
SELECT has_parameter_privilege('regress_host_resource_admin', 'work_mem', 'SET, ALTER SYSTEM');
342342
has_parameter_privilege
343343
-------------------------

‎src/test/modules/unsafe_tests/sql/guc_privs.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ GRANT SET, ALTER SYSTEM ON PARAMETER
133133
autovacuum_work_mem, hash_mem_multiplier, max_stack_depth,
134134
shared_buffers, temp_file_limit, work_mem
135135
TO regress_host_resource_admin;
136-
-- Check the new role now hasprivilges on parameters
136+
-- Check the new role now hasprivileges on parameters
137137
SELECT has_parameter_privilege('regress_host_resource_admin','work_mem','SET, ALTER SYSTEM');
138138
SELECT has_parameter_privilege('regress_host_resource_admin','work_mem','SET');
139139
SELECT has_parameter_privilege('regress_host_resource_admin','work_mem','ALTER SYSTEM');

‎src/tools/pg_bsd_indent/tests/elsecomment.0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* $FreeBSD$ */
22
/* See r303484 and r309342 */
33
void t(void) {
4-
/* The two if statements belowexcercise two different code paths. */
4+
/* The two if statements belowexercise two different code paths. */
55

66
if (1) /* a */ int a; else /* b */ int b;
77

‎src/tools/pg_bsd_indent/tests/elsecomment.0.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
void
44
t(void)
55
{
6-
/* The two if statements belowexcercise two different code paths. */
6+
/* The two if statements belowexercise two different code paths. */
77

88
if (1)/* a */
99
inta;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp