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

Commit8a15e73

Browse files
committed
Fix some grammar and typos in comments and docs
The documentation fixes are backpatched down to where they apply.Author: Justin PryzbyDiscussion:https://postgr.es/m/20201031020801.GD3080@telsasoft.comBackpatch-through: 9.6
1 parent644f0d7 commit8a15e73

File tree

25 files changed

+28
-28
lines changed

25 files changed

+28
-28
lines changed

‎contrib/amcheck/verify_heapam.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ verify_heapam_tupdesc(void)
560560
* Since we do not hold a snapshot, tuple visibility is not a question of
561561
* whether we should be able to see the tuple relative to any particular
562562
* snapshot, but rather a question of whether it is safe and reasonable to
563-
*tocheck the tuple attributes.
563+
* check the tuple attributes.
564564
*
565565
* Some kinds of corruption make it unsafe to check the tuple attributes, for
566566
* example when the line pointer refers to a range of bytes outside the page.
@@ -1342,7 +1342,7 @@ fxid_in_cached_range(FullTransactionId fxid, const HeapCheckContext *ctx)
13421342
}
13431343

13441344
/*
1345-
* Checkswheter a multitransaction ID is in the cached valid range, returning
1345+
* Checkswhether a multitransaction ID is in the cached valid range, returning
13461346
* the nature of the range violation, if any.
13471347
*/
13481348
staticXidBoundsViolation

‎contrib/pgcrypto/pgp-compress.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ decompress_read(void *priv, PullFilter *src, int len,
291291
* A stream must be terminated by a normal packet. If the last stream
292292
* packet in the source stream is a full packet, a normal empty packet
293293
* must follow. Since the underlying packet reader doesn't know that
294-
* the compressed stream has been ended, we need totoconsume the
294+
* the compressed stream has been ended, we need to consume the
295295
* terminating packet here. This read does not harm even if the
296296
* stream has already ended.
297297
*/

‎doc/src/sgml/auto-explain.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ LOAD 'auto_explain';
200200
<listitem>
201201
<para>
202202
<varname>auto_explain.log_settings</varname> controls whether information
203-
about modified configuration options is printed when execution plan is logged.
203+
about modified configuration options is printed whenanexecution plan is logged.
204204
Only options affecting query planning with value different from the built-in
205205
default value are included in the output. This parameter is off by default.
206206
Only superusers can change this setting.

‎doc/src/sgml/ddl.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3919,7 +3919,7 @@ CREATE INDEX ON measurement (logdate);
39193919

39203920
<para>
39213921
Normally the set of partitions established when initially defining the
3922-
tableare not intended to remain static. It is common to want to
3922+
tableis not intended to remain static. It is common to want to
39233923
remove old partitions of data and periodically add new partitions for
39243924
new data. One of the most important advantages of partitioning is
39253925
precisely that it allows this otherwise painful task to be executed

‎doc/src/sgml/ref/pg_rewind.sgml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ PostgreSQL documentation
7474
<application>pg_rewind</application> with the <literal>-c</literal> option to
7575
automatically retrieve them from the WAL archive. The use of
7676
<application>pg_rewind</application> is not limited to failover, e.g., a standby
77-
server can be promoted, run some write transactions, and thenrewinded
77+
server can be promoted, run some write transactions, and thenrewound
7878
to become a standby again.
7979
</para>
8080

‎src/backend/access/heap/pruneheap.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ heap_page_prune(Relation relation, Buffer buffer,
385385

386386

387387
/*
388-
* Performvisiblity checks for heap pruning.
388+
* Performvisibility checks for heap pruning.
389389
*
390390
* This is more complicated than just using GlobalVisTestIsRemovableXid()
391391
* because of old_snapshot_threshold. We only want to increase the threshold

‎src/backend/catalog/namespace.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3853,7 +3853,7 @@ recomputeNamespacePath(void)
38533853
/*
38543854
* We want to detect the case where the effective value of the base search
38553855
* path variables didn't change. As long as we're doing so, we can avoid
3856-
* copying the OID listunncessarily.
3856+
* copying the OID listunnecessarily.
38573857
*/
38583858
if (baseCreationNamespace==firstNS&&
38593859
baseTempCreationPending==temp_missing&&

‎src/backend/catalog/pg_namespace.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ NamespaceCreate(const char *nspName, Oid ownerId, bool isTemp)
106106
/* dependency on owner */
107107
recordDependencyOnOwner(NamespaceRelationId,nspoid,ownerId);
108108

109-
/*dependences on roles mentioned in default ACL */
109+
/*dependencies on roles mentioned in default ACL */
110110
recordDependencyOnNewAcl(NamespaceRelationId,nspoid,0,ownerId,nspacl);
111111

112112
/* dependency on extension ... but not for magic temp schemas */

‎src/backend/commands/copy.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,9 +2610,9 @@ CopyMultiInsertInfoFlush(CopyMultiInsertInfo *miinfo, ResultRelInfo *curr_rri)
26102610

26112611
/*
26122612
* Trim the list of tracked buffers down if it exceeds the limit. Here we
2613-
* remove buffers starting with the ones we created first. It seemsmore
2614-
* likely that these older onesare less likely tobe needed than ones
2615-
*that werejust created.
2613+
* remove buffers starting with the ones we created first. It seemsless
2614+
* likely that these older oneswillbe needed thantheones that were
2615+
* just created.
26162616
*/
26172617
while (list_length(miinfo->multiInsertBuffers)>MAX_PARTITION_BUFFERS)
26182618
{

‎src/backend/commands/tablecmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ ExecuteTruncateGuts(List *explicit_rels, List *relids, List *relids_logged,
17901790
*
17911791
* We put the ResultRelInfos in the es_opened_result_relations list, even
17921792
* though we don't have a range table and don't populate the
1793-
* es_result_relations array. That's abig bogus, but it's enough to make
1793+
* es_result_relations array. That's abit bogus, but it's enough to make
17941794
* ExecGetTriggerResultRel() find them.
17951795
*/
17961796
estate = CreateExecutorState();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp