Fix a typo in autoprewarm.c

Started by Masahiko Sawadaabout 8 years ago3 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi,

Attached a patch for fixing a typo in autoprewarm.c. I'm sorry if I'm mistaken.

s/withs/with/

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachments:

fix_typo_in_autoprewarm_c.patchapplication/octet-stream; name=fix_typo_in_autoprewarm_c.patchDownload
diff --git a/contrib/pg_prewarm/autoprewarm.c b/contrib/pg_prewarm/autoprewarm.c
index 006c315..abf8f03 100644
--- a/contrib/pg_prewarm/autoprewarm.c
+++ b/contrib/pg_prewarm/autoprewarm.c
@@ -368,7 +368,7 @@ apw_load_buffers(void)
 			if (current_db != blkinfo[i].database)
 			{
 				/*
-				 * Combine BlockRecordInfos for global objects withs those of
+				 * Combine BlockRecordInfos for global objects with those of
 				 * the database.
 				 */
 				if (current_db != InvalidOid)
#2Bruce Momjian
bruce@momjian.us
In reply to: Masahiko Sawada (#1)
Re: Fix a typo in autoprewarm.c

On Fri, Dec 22, 2017 at 02:30:56PM +0900, Masahiko Sawada wrote:

Hi,

Attached a patch for fixing a typo in autoprewarm.c. I'm sorry if I'm mistaken.

s/withs/with/

Patch applied to head, thanks.

---------------------------------------------------------------------------

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

diff --git a/contrib/pg_prewarm/autoprewarm.c b/contrib/pg_prewarm/autoprewarm.c
index 006c315..abf8f03 100644
--- a/contrib/pg_prewarm/autoprewarm.c
+++ b/contrib/pg_prewarm/autoprewarm.c
@@ -368,7 +368,7 @@ apw_load_buffers(void)
if (current_db != blkinfo[i].database)
{
/*
-				 * Combine BlockRecordInfos for global objects withs those of
+				 * Combine BlockRecordInfos for global objects with those of
* the database.
*/
if (current_db != InvalidOid)

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +
#3Masahiko Sawada
sawada.mshk@gmail.com
In reply to: Bruce Momjian (#2)
Re: Fix a typo in autoprewarm.c

On Fri, Jan 26, 2018 at 10:13 AM, Bruce Momjian <bruce@momjian.us> wrote:

On Fri, Dec 22, 2017 at 02:30:56PM +0900, Masahiko Sawada wrote:

Hi,

Attached a patch for fixing a typo in autoprewarm.c. I'm sorry if I'm mistaken.

s/withs/with/

Patch applied to head, thanks.

Thank you!

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center