Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64a32f9

Browse files
committed
Department of second thoughts: can't reorder merge-join clauses.
1 parent743f667 commit64a32f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/optimizer/plan/createplan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.156 2003/08/26 22:56:51 tgl Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.157 2003/08/27 12:44:12 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -1000,9 +1000,9 @@ create_mergejoin_plan(Query *root,
10001000
best_path->jpath.outerjoinpath->parent->relids);
10011001

10021002
/* Sort clauses into best execution order */
1003+
/* NB: do NOT reorder the mergeclauses */
10031004
joinclauses=order_qual_clauses(root,joinclauses);
10041005
otherclauses=order_qual_clauses(root,otherclauses);
1005-
mergeclauses=order_qual_clauses(root,mergeclauses);
10061006

10071007
/*
10081008
* Create explicit sort nodes for the outer and inner join paths if

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp