summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDavid Rowley2025-04-20 22:41:18 +0000
committerDavid Rowley2025-04-20 22:41:18 +0000
commit84fd3bc141039b32f25c3c9f6157163a56ab5f66 (patch)
tree7730cc9fb8afa2106520a0199b7146f29e9c6e52 /contrib
parent818013665259d4242ba641aad705ebe5a3e2db8e (diff)
Fix a few duplicate words in comments
These are all new to v18 Author: David Rowley <[email protected]> Discussion: https://postgr.es/m/CAApHDvrMcr8XD107H3NV=WHgyBcu=sx5+7=WArr-n_cWUqdFXQ@mail.gmail.com
Diffstat (limited to 'contrib')
-rw-r--r--contrib/amcheck/verify_heapam.c2
-rw-r--r--contrib/pg_buffercache/pg_buffercache_pages.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/amcheck/verify_heapam.c b/contrib/amcheck/verify_heapam.c
index 2152d8ee577..aa9cccd1da4 100644
--- a/contrib/amcheck/verify_heapam.c
+++ b/contrib/amcheck/verify_heapam.c
@@ -460,7 +460,7 @@ verify_heapam(PG_FUNCTION_ARGS)
else
{
/*
- * It would not be safe to naively use use batchmode, as
+ * It would not be safe to naively use batchmode, as
* heapcheck_read_stream_next_unskippable takes locks. It shouldn't be
* too hard to convert though.
*/
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c
index 6bfb9fb669e..4b007f6e1b0 100644
--- a/contrib/pg_buffercache/pg_buffercache_pages.c
+++ b/contrib/pg_buffercache/pg_buffercache_pages.c
@@ -450,8 +450,8 @@ pg_buffercache_numa_pages(PG_FUNCTION_ARGS)
* locks, so the information of each buffer is self-consistent.
*
* This loop touches and stores addresses into os_page_ptrs[] as input
- * to one big big move_pages(2) inquiry system call. Basically we ask
- * for all memory pages for NBuffers.
+ * to one big move_pages(2) inquiry system call. Basically we ask for
+ * all memory pages for NBuffers.
*/
startptr = (char *) TYPEALIGN_DOWN(os_page_size, (char *) BufferGetBlock(1));
idx = 0;