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

Commit598a4e1

Browse files
committed
Remove unused Choose node.
1 parente6725d1 commit598a4e1

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.30 1999/01/18 00:09:48 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.31 1999/01/23 23:28:08 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -82,13 +82,6 @@ set_tlist_references(Plan *plan)
8282
set_result_tlist_references((Result*)plan);
8383
elseif (IsA(plan,Hash))
8484
set_tlist_references(plan->lefttree);
85-
elseif (IsA(plan,Choose))
86-
{
87-
List*x;
88-
89-
foreach(x, ((Choose*)plan)->chooseplanlist)
90-
set_tlist_references((Plan*)lfirst(x));
91-
}
9285
}
9386

9487
/*

‎src/include/nodes/plannodes.h

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: plannodes.h,v 1.19 1998/11/22 10:45:09vadim Exp $
9+
* $Id: plannodes.h,v 1.20 1999/01/23 23:28:09momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -328,16 +328,6 @@ typedef struct Hash
328328
inthashtablesize;
329329
}Hash;
330330

331-
/* ---------------------
332-
*choose node
333-
* ---------------------
334-
*/
335-
typedefstructChoose
336-
{
337-
Planplan;
338-
List*chooseplanlist;
339-
}Choose;
340-
341331
/* -------------------
342332
*Tee node information
343333
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp