append_rel_array-typo.patch

text/plain

Filename: append_rel_array-typo.patch
Type: text/plain
Part: 0
Message: Re: Performance regression with PostgreSQL 11 and partitioning

Patch

Format: unified
File+
src/include/nodes/relation.h 1 1
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h
index 346cf08936..7cae3fcfb5 100644
--- a/src/include/nodes/relation.h
+++ b/src/include/nodes/relation.h
@@ -204,7 +204,7 @@ typedef struct PlannerInfo
 	RangeTblEntry **simple_rte_array;	/* rangetable as an array */
 
 	/*
-	 * append_rel_list is the same length as the above arrays, and holds
+	 * append_rel_array is the same length as the above arrays, and holds
 	 * pointers to the corresponding AppendRelInfo entry indexed by
 	 * child_relid, or NULL if none.  The array itself is not allocated if
 	 * append_rel_list is empty.