fix comment typo in xlogprefetcher.c

From: "kato-sho(at)fujitsu(dot)com" <kato-sho(at)fujitsu(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: fix comment typo in xlogprefetcher.c
Date: 2022-10-06 08:12:37
Message-ID: TYCPR01MB684954052EC534A3261B29249F5C9@TYCPR01MB6849.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
fix-typo-comment.patch application/octet-stream 650 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-10-06 08:30:47 Re: Support logical replication of DDLs
Previous Message Michael Paquier 2022-10-06 08:09:42 Re: use has_privs_of_role() for pg_hba.conf