0001-Typo-attachRel-is-now-attachrel.patch

text/plain

Filename: 0001-Typo-attachRel-is-now-attachrel.patch
Type: text/plain
Part: 0
Message: Re: A bug in mapping attributes in ATExecAttachPartition()

Patch

Format: format-patch
Series: patch 0001
Subject: Typo: attachRel is now attachrel
File+
src/backend/commands/tablecmds.c 2 2
From 26e7205fd7c35c0b497c1a7c31152393d3551b23 Mon Sep 17 00:00:00 2001
From: amit <amitlangote09@gmail.com>
Date: Mon, 7 Aug 2017 10:45:39 +0900
Subject: [PATCH 1/3] Typo: attachRel is now attachrel

---
 src/backend/commands/tablecmds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 1b8d4b3d17..d27c43bdc7 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -13491,7 +13491,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd)
 	 * Prevent circularity by seeing if rel is a partition of attachrel. (In
 	 * particular, this disallows making a rel a partition of itself.)
 	 *
-	 * We do that by checking if rel is a member of the list of attachRel's
+	 * We do that by checking if rel is a member of the list of attachrel's
 	 * partitions provided the latter is partitioned at all.  We want to avoid
 	 * having to construct this list again, so we request the strongest lock
 	 * on all partitions.  We need the strongest lock, because we may decide
@@ -13746,7 +13746,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd)
 			{
 				/*
 				 * Adjust the constraint that we constructed above for
-				 * attachRel so that it matches this partition's attribute
+				 * attachrel so that it matches this partition's attribute
 				 * numbers.
 				 */
 				my_partconstr = map_partition_varattnos(my_partconstr, 1,
-- 
2.11.0