fix comment typo in xlogprefetcher.c

Sho Kato (Fujitsu) <kato-sho@fujitsu.com>

From: "kato-sho@fujitsu.com" <kato-sho@fujitsu.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2022-10-06T08:12:37Z
Lists: pgsql-hackers

Attachments

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

Commits

  1. Fix comment in xlogprefetcher.c