Skip to content

Commit 310cd8a

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 parent e00b4f7 commit 310cd8a

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 the streaming read 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-
* to store 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-
* to baseSearchPath 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-
* the remote_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-
* of transaction
247+
* transaction
248248
*/
249249
void
250250
smgrpin(SMgrRelation reln)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy