Remove unused Choose node.
authorBruce Momjian <bruce@momjian.us>
Sat, 23 Jan 1999 23:28:09 +0000 (23:28 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 23 Jan 1999 23:28:09 +0000 (23:28 +0000)
src/backend/optimizer/plan/setrefs.c
src/include/nodes/plannodes.h

index e4f2309337440761f454067ca6f3006da6f585e5..0d41a94fce9e01124c733ede8f6a4e3fc1e5232e 100644 (file)
@@ -82,13 +82,6 @@ set_tlist_references(Plan *plan)
                set_result_tlist_references((Result *) plan);
        else if (IsA(plan, Hash))
                set_tlist_references(plan->lefttree);
-       else if (IsA(plan, Choose))
-       {
-               List       *x;
-
-               foreach(x, ((Choose *) plan)->chooseplanlist)
-                       set_tlist_references((Plan *) lfirst(x));
-       }
 }
 
 /*
index 78c054a72b9b4799a46e7512a120c8a64ee83eb1..313080ec1a77114e95bf453df5ff1b537918e634 100644 (file)
@@ -328,16 +328,6 @@ typedef struct Hash
        int                     hashtablesize;
 } Hash;
 
-/* ---------------------
- *             choose node
- * ---------------------
- */
-typedef struct Choose
-{
-       Plan            plan;
-       List       *chooseplanlist;
-} Choose;
-
 /* -------------------
  *             Tee node information
  *