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

Commit 88ae1bd

Browse files
committed
Remove an Assert that's been obsoleted by recent changes in the parsetree
representation of DECLARE CURSOR. Report and fix by Heikki.
1 parent f04b8a8 commit 88ae1bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/optimizer/prep/prepunion.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*
2323
*
2424
* IDENTIFICATION
25-
* $PostgreSQL: pgsql/src/backend/optimizer/prep/prepunion.c,v 1.143 2007/07/12 18:27:01 tgl Exp $
25+
* $PostgreSQL: pgsql/src/backend/optimizer/prep/prepunion.c,v 1.144 2007/10/22 17:04:35 tgl Exp $
2626
*
2727
*-------------------------------------------------------------------------
2828
*/
@@ -111,7 +111,6 @@ plan_set_operations(PlannerInfo *root, double tuple_fraction,
111111
Assert(topop && IsA(topop, SetOperationStmt));
112112

113113
/* check for unsupported stuff */
114-
Assert(parse->utilityStmt == NULL);
115114
Assert(parse->jointree->fromlist == NIL);
116115
Assert(parse->jointree->quals == NULL);
117116
Assert(parse->groupClause == NIL);

0 commit comments

Comments
 (0)