Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 598a4e1

Browse files
committed
Remove unused Choose node.
1 parent e6725d1 commit 598a4e1

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

src/backend/optimizer/plan/setrefs.c

+1-8
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
else if (IsA(plan, Hash))
8484
set_tlist_references(plan->lefttree);
85-
else if (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

+1-11
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:09 vadim Exp $
9+
* $Id: plannodes.h,v 1.20 1999/01/23 23:28:09 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -328,16 +328,6 @@ typedef struct Hash
328328
int hashtablesize;
329329
} Hash;
330330

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

0 commit comments

Comments
 (0)