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

Commit310cd8a

Browse files
committed
Fix duplicated consecutive words in comments
Also, fix a comment incorrectly referencing the "streaming read API".This was renamed to "read stream" shortly before being committed.Discussion:https://postgr.es/m/CAApHDvq-2Zdqytm_Hf3RmVf0qg5PS9jTFAJ5QTc9xH9pwvwDTA@mail.gmail.com
1 parente00b4f7 commit310cd8a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ heap_beginscan(Relation relation, Snapshot snapshot,
11221122
/*
11231123
* Set up a read stream for sequential scans and TID range scans. This
11241124
* should be done after initscan() because initscan() allocates the
1125-
* BufferAccessStrategy object passed to thestreamingread API.
1125+
* BufferAccessStrategy object passed to the read stream API.
11261126
*/
11271127
if (scan->rs_base.rs_flags&SO_TYPE_SEQSCAN||
11281128
scan->rs_base.rs_flags&SO_TYPE_TIDRANGESCAN)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* autovacuum_work_mem) memory space to keep track of dead TIDs. If the
1414
* TID store is full, we must call lazy_vacuum to vacuum indexes (and to vacuum
1515
* the pages that we've pruned). This frees up the memory space dedicated to
16-
*tostore dead TIDs.
16+
* store dead TIDs.
1717
*
1818
* In practice VACUUM will often complete its initial pass over the target
1919
* heap relation without ever running out of space to store TIDs. This means

‎src/backend/catalog/namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
* (if one exists).
109109
*
110110
* activeSearchPath is always the actually active path; it points to
111-
*tobaseSearchPath which is the list derived from namespace_search_path.
111+
* baseSearchPath which is the list derived from namespace_search_path.
112112
*
113113
* If baseSearchPathValid is false, then baseSearchPath (and other derived
114114
* variables) need to be recomputed from namespace_search_path, or retrieved

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ update_and_persist_local_synced_slot(RemoteSlot *remote_slot, Oid remote_dbid)
599599
* metadata of the slot as per the data received from the primary server.
600600
*
601601
* The slot is created as a temporary slot and stays in the same state until the
602-
*theremote_slot catches up with locally reserved position and local slot is
602+
* remote_slot catches up with locally reserved position and local slot is
603603
* updated. The slot is then persisted and is considered as sync-ready for
604604
* periodic syncs.
605605
*

‎src/backend/storage/smgr/smgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ smgropen(RelFileLocator rlocator, ProcNumber backend)
244244

245245
/*
246246
* smgrpin() -- Prevent an SMgrRelation object from being destroyed at end of
247-
*oftransaction
247+
*transaction
248248
*/
249249
void
250250
smgrpin(SMgrRelationreln)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp