Fix typo in xlogreader.h and procarray.c
Started by Hou, Zhijieabout 5 years ago3 messages
Hi
I found some possible typo in procarray.c and xlogreader.h
- * For VACUUM separate horizons (used to to decide which deleted tuples must
+ * For VACUUM separate horizons (used to decide which deleted tuples must
- * Callers supply a page_read callback if they want to to call
+ * Callers supply a page_read callback if they want to call
Best regards,
houzj
Attachments:
0001-fix-typo.patchapplication/octet-stream; name=0001-fix-typo.patchDownload
From 15d83c69858318bf656802d1b14c52c063c83e80 Mon Sep 17 00:00:00 2001
From: root <root@localhost.localdomain>
Date: Mon, 2 Nov 2020 20:34:00 -0500
Subject: [PATCH] fix typo
---
src/backend/storage/ipc/procarray.c | 2 +-
src/include/access/xlogreader.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c
index 8da7b1d..05661e3 100644
--- a/src/backend/storage/ipc/procarray.c
+++ b/src/backend/storage/ipc/procarray.c
@@ -1600,7 +1600,7 @@ TransactionIdIsActive(TransactionId xid)
* See the definition of ComputedXidHorizonsResult for the various computed
* horizons.
*
- * For VACUUM separate horizons (used to to decide which deleted tuples must
+ * For VACUUM separate horizons (used to decide which deleted tuples must
* be preserved), for shared and non-shared tables are computed. For shared
* relations backends in all databases must be considered, but for non-shared
* relations that's not required, since only backends in my own database could
diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h
index b976882..0b6d00d 100644
--- a/src/include/access/xlogreader.h
+++ b/src/include/access/xlogreader.h
@@ -17,7 +17,7 @@
* XLogBeginRead() or XLogFindNextRecord(), and call XLogReadRecord()
* until it returns NULL.
*
- * Callers supply a page_read callback if they want to to call
+ * Callers supply a page_read callback if they want to call
* XLogReadRecord or XLogFindNextRecord; it can be passed in as NULL
* otherwise. The WALRead function can be used as a helper to write
* page_read callbacks, but it is not mandatory; callers that use it,
--
1.8.3.1
Re: Fix typo in xlogreader.h and procarray.c
On Tue, Nov 3, 2020 at 7:09 AM Hou, Zhijie <houzj.fnst@cn.fujitsu.com> wrote:
Hi
I found some possible typo in procarray.c and xlogreader.h
- * For VACUUM separate horizons (used to to decide which deleted tuples must + * For VACUUM separate horizons (used to decide which deleted tuples must- * Callers supply a page_read callback if they want to to call + * Callers supply a page_read callback if they want to call
LGTM. I'll push this in some time, thanks.
--
With Regards,
Amit Kapila.
Re: Fix typo in xlogreader.h and procarray.c
On Tue, Nov 3, 2020 at 8:27 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
On Tue, Nov 3, 2020 at 7:09 AM Hou, Zhijie <houzj.fnst@cn.fujitsu.com> wrote:
Hi
I found some possible typo in procarray.c and xlogreader.h
- * For VACUUM separate horizons (used to to decide which deleted tuples must + * For VACUUM separate horizons (used to decide which deleted tuples must- * Callers supply a page_read callback if they want to to call + * Callers supply a page_read callback if they want to callLGTM. I'll push this in some time, thanks.
Pushed.
--
With Regards,
Amit Kapila.