Remove an Assert that's been obsoleted by recent changes in the parsetree
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Oct 2007 17:04:35 +0000 (17:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Oct 2007 17:04:35 +0000 (17:04 +0000)
representation of DECLARE CURSOR.  Report and fix by Heikki.

src/backend/optimizer/prep/prepunion.c

index 2dc293b74d126622a6260b98597b37a2858e4b9e..1d92cc5628b748756faa73ee0a6f303b32553e25 100644 (file)
@@ -22,7 +22,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/optimizer/prep/prepunion.c,v 1.143 2007/07/12 18:27:01 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/optimizer/prep/prepunion.c,v 1.144 2007/10/22 17:04:35 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -111,7 +111,6 @@ plan_set_operations(PlannerInfo *root, double tuple_fraction,
        Assert(topop && IsA(topop, SetOperationStmt));
 
        /* check for unsupported stuff */
-       Assert(parse->utilityStmt == NULL);
        Assert(parse->jointree->fromlist == NIL);
        Assert(parse->jointree->quals == NULL);
        Assert(parse->groupClause == NIL);