From 8c2d8f6cc4848cf9276dff445bb0f2f664083eca Mon Sep 17 00:00:00 2001 From: Amit Kapila Date: Tue, 3 Nov 2020 08:38:27 +0530 Subject: [PATCH] Fix typos. Author: Hou Zhijie Discussion: https://postgr.es/m/855a9421839d402b8b351d273c89a8f8@G08CNEXMBPEKD05.g08.fujitsu.local --- 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 8da7b1d8a7b..05661e379e5 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 b9768822291..0b6d00dd7df 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,