postgres.git / summary / log / commit / refs
commit ae283736025c2d0b41a4106788b4e45ffba6c82d
Author: Michael Paquier <michael@paquier.xyz>
Date: Tue Jan 06 03:30:01 2026 +0000
First released in: 19.0
Fix typo in planner.c
b8cfcb9e00da did not get this change right.
Author: Alexander Law <exclusion@gmail.com>
Discussion: https://postgr.es/m/CAJ0YPFFWhJXs-e-=7iJz-FLp=b1dXfJA_qtrVAgto=bZmzD9zQ@mail.gmail.com
src/backend/optimizer/plan/planner.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/optimizer/plan/planner.c b/src/backend/optimizer/plan/planner.c
index da6e7fd34b0..7a6b8b749f2 100644
--- a/src/backend/optimizer/plan/planner.c
+++ b/src/backend/optimizer/plan/planner.c
@@ -7922,8 +7922,8 @@ apply_scanjoin_target_to_paths(PlannerInfo *root,
* However, there are several cases when this optimization is not safe. If
* the rel isn't partitioned, then none of the paths will be Append or
* MergeAppend paths, so we should definitely not do this. If it is
- * partititoned but is a joinrel, it may have Append and MergeAppend
- * paths, but it can also have join paths that we can't afford to discard.
+ * partitioned but is a joinrel, it may have Append and MergeAppend paths,
+ * but it can also have join paths that we can't afford to discard.
*
* Some care is needed, because we have to allow
* generate_useful_gather_paths to see the old partial paths in the next
[parent: 5f13999aa11d]