Re: [HACKERS] Typos in comments in execMain.c

2017-05-09 Thread Robert Haas
On Tue, May 9, 2017 at 4:26 AM, Etsuro Fujita
 wrote:
> Here is a small patch to fix typos in comments for InitResultRelInfo() in
> execMain.c: s/ResultRelationInfo/ResultRelInfo/ and s/the the/the/.

Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Typos in comments in execMain.c

2017-05-09 Thread Etsuro Fujita

Hi,

Here is a small patch to fix typos in comments for InitResultRelInfo()  
in execMain.c: s/ResultRelationInfo/ResultRelInfo/ and s/the the/the/.


Best regards,
Etsuro Fujita
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 5c12fb4..2e9fb0e 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -1303,9 +1303,9 @@ InitResultRelInfo(ResultRelInfo *resultRelInfo,
 
 	/*
 	 * If partition_root has been specified, that means we are building the
-	 * ResultRelationInfo for one of its leaf partitions.  In that case, we
-	 * need *not* initialize the leaf partition's constraint, but rather the
-	 * the partition_root's (if any).  We must do that explicitly like this,
+	 * ResultRelInfo for one of its leaf partitions.  In that case, we need
+	 * *not* initialize the leaf partition's constraint, but rather the
+	 * partition_root's (if any).  We must do that explicitly like this,
 	 * because implicit partition constraints are not inherited like user-
 	 * defined constraints and would fail to be enforced by ExecConstraints()
 	 * after a tuple is routed to a leaf partition.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers