fix comment typo in xlogprefetcher.c

Started by kato-sho@fujitsu.comover 3 years ago2 messages
#1kato-sho@fujitsu.com
kato-sho@fujitsu.com
1 attachment(s)

Hello

I found a comment typo in xlogprefetcher.c.
Any thoughts?

--- a/src/backend/access/transam/xlogprefetcher.c
+++ b/src/backend/access/transam/xlogprefetcher.c
@@ -19,7 +19,7 @@
  * avoid a second buffer mapping table lookup.
  *
  * Currently, only the main fork is considered for prefetching.  Currently,
- * prefetching is only effective on systems where BufferPrefetch() does
+ * prefetching is only effective on systems where PrefetchBuffer() does
  * something useful (mainly Linux).
  *
  *-------------------------------------------------------------------------

regards sho kato

Attachments:

fix-typo-comment.patchapplication/octet-stream; name=fix-typo-comment.patchDownload
diff --git a/src/backend/access/transam/xlogprefetcher.c b/src/backend/access/transam/xlogprefetcher.c
index 8f5d425332..1cbac4b7f6 100644
--- a/src/backend/access/transam/xlogprefetcher.c
+++ b/src/backend/access/transam/xlogprefetcher.c
@@ -19,7 +19,7 @@
  * avoid a second buffer mapping table lookup.
  *
  * Currently, only the main fork is considered for prefetching.  Currently,
- * prefetching is only effective on systems where BufferPrefetch() does
+ * prefetching is only effective on systems where PrefetchBuffer() does
  * something useful (mainly Linux).
  *
  *-------------------------------------------------------------------------
#2Michael Paquier
michael@paquier.xyz
In reply to: kato-sho@fujitsu.com (#1)
Re: fix comment typo in xlogprefetcher.c

On Thu, Oct 06, 2022 at 08:12:37AM +0000, kato-sho@fujitsu.com wrote:

I found a comment typo in xlogprefetcher.c.
Any thoughts?

Fixed, thanks.
--
Michael