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

Commitaaf8c99

Browse files
committed
Fix typos and some format mistakes in comments
Author: Justin PryzbyDiscussion:https://postgr.es/m/20200612023709.GC14879@telsasoft.com
1 parentffd2582 commitaaf8c99

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

‎src/backend/replication/logical/origin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ replorigin_drop(RepOriginId roident, bool nowait)
427427

428428

429429
/*
430-
* Lookup replication origin viait's oid and return the name.
430+
* Lookup replication origin viaits oid and return the name.
431431
*
432432
* The external name is palloc'd in the calling context.
433433
*

‎src/backend/replication/logical/relation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ logicalrep_partmap_init(void)
576576
* the attribute map, which can be different for the partition.
577577
*
578578
* Note there's no logicalrep_partition_close, because the caller closes the
579-
*thecomponent relation.
579+
* component relation.
580580
*/
581581
LogicalRepRelMapEntry*
582582
logicalrep_partition_open(LogicalRepRelMapEntry*root,

‎src/backend/utils/mmgr/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ Memory Accounting
462462
-----------------
463463

464464
One of the basic memory context operations is determining the amount of
465-
memory used in the context (andit's children). We have multiple places
465+
memory used in the context (andits children). We have multiple places
466466
that implement their own ad hoc memory accounting, and this is meant to
467467
provide a unified approach. Ad hoc accounting solutions work for places
468468
with tight control over the allocations or when it's easy to determine

‎src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ dumpOptionsFromRestoreOptions(RestoreOptions *ropt)
209209
/*
210210
*Wrapper functions.
211211
*
212-
*The objectiveit to make writing new formats and dumpers as simple
212+
*The objectiveis to make writing new formats and dumpers as simple
213213
*as possible, if necessary at the expense of extra function calls etc.
214214
*
215215
*/
216216

217217
/*
218218
* The dump worker setup needs lots of knowledge of the internals of pg_dump,
219-
* soIt's defined in pg_dump.c and passed into OpenArchive. The restore worker
219+
* soit's defined in pg_dump.c and passed into OpenArchive. The restore worker
220220
* setup doesn't need to know anything much, so it's defined here.
221221
*/
222222
staticvoid
@@ -1450,7 +1450,7 @@ SortTocFromFile(Archive *AHX)
14501450
}
14511451

14521452
/**********************
1453-
*'Convenience functions that look like standard IO functions
1453+
* Convenience functions that look like standard IO functions
14541454
* for writing data when in dump mode.
14551455
**********************/
14561456

‎src/bin/pg_dump/pg_backup_custom.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ _ReadExtraToc(ArchiveHandle *AH, TocEntry *te)
262262
* that includes useful information about the TOC entry.
263263
*
264264
* Optional.
265-
*
266265
*/
267266
staticvoid
268267
_PrintExtraToc(ArchiveHandle*AH,TocEntry*te)
@@ -324,7 +323,6 @@ _WriteData(ArchiveHandle *AH, const void *data, size_t dLen)
324323
* finished.
325324
*
326325
* Optional.
327-
*
328326
*/
329327
staticvoid
330328
_EndData(ArchiveHandle*AH,TocEntry*te)
@@ -529,8 +527,8 @@ _LoadBlobs(ArchiveHandle *AH, bool drop)
529527
/*
530528
* Skip the BLOBs from the current file position.
531529
* BLOBS are written sequentially as data blocks (see below).
532-
* Each BLOB is preceded byit's original OID.
533-
* A zero OIDindicated the end of the BLOBS
530+
* Each BLOB is preceded byits original OID.
531+
* A zero OIDindicates the end of the BLOBS.
534532
*/
535533
staticvoid
536534
_skipBlobs(ArchiveHandle*AH)
@@ -548,7 +546,7 @@ _skipBlobs(ArchiveHandle *AH)
548546
/*
549547
* Skip data from current file position.
550548
* Data blocks are formatted as an integer length, followed by data.
551-
* A zero lengthdenoted the end of the block.
549+
* A zero lengthindicates the end of the block.
552550
*/
553551
staticvoid
554552
_skipData(ArchiveHandle*AH)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp