A typo in partprune.c

Started by Yuzuko Hosoyaabout 7 years ago3 messages
#1Yuzuko Hosoya
hosoya.yuzuko@lab.ntt.co.jp
1 attachment(s)

Hi,

I found a typo in the comment of get_matching_range_bounds.
/*
- * get_matching_range_datums
+ * get_matching_range_bounds
* Determine the offsets of range bounds matching the specified values,
* according to the semantics of the given operator strategy

Here is the patch to fix it.

Best regards,
Yuzuko Hosoya
NTT Open Source Software Center

Attachments:

fix_partprune_typo.patchapplication/octet-stream; name=fix_partprune_typo.patchDownload
diff --git a/src/backend/partitioning/partprune.c b/src/backend/partitioning/partprune.c
index d6ca03de4a..35c87535d3 100644
--- a/src/backend/partitioning/partprune.c
+++ b/src/backend/partitioning/partprune.c
@@ -2400,7 +2400,7 @@ get_matching_list_bounds(PartitionPruneContext *context,
 
 
 /*
- * get_matching_range_datums
+ * get_matching_range_bounds
  *		Determine the offsets of range bounds matching the specified values,
  *		according to the semantics of the given operator strategy
  *
#2Michael Paquier
michael@paquier.xyz
In reply to: Yuzuko Hosoya (#1)
Re: A typo in partprune.c

On Thu, Nov 08, 2018 at 07:19:14PM +0900, Yuzuko Hosoya wrote:

Here is the patch to fix it.

Thanks, committed.
--
Michael

#3Yuzuko Hosoya
hosoya.yuzuko@lab.ntt.co.jp
In reply to: Michael Paquier (#2)
RE: A typo in partprune.c

Hi Michael,

From: Michael Paquier [mailto:michael@paquier.xyz]
Sent: Thursday, November 08, 2018 8:17 PM

On Thu, Nov 08, 2018 at 07:19:14PM +0900, Yuzuko Hosoya wrote:

Here is the patch to fix it.

Thanks, committed.

Thank you.

Yuzuko Hosoya
NTT Open Source Software Center