From: Tom Lane Date: Mon, 22 Oct 2007 17:04:35 +0000 (+0000) Subject: Remove an Assert that's been obsoleted by recent changes in the parsetree X-Git-Tag: REL8_3_BETA2~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88ae1bd3f24d1c211be26a17e9ddef17f08c461d;p=thirdparty%2Fpostgresql.git Remove an Assert that's been obsoleted by recent changes in the parsetree representation of DECLARE CURSOR. Report and fix by Heikki. --- diff --git a/src/backend/optimizer/prep/prepunion.c b/src/backend/optimizer/prep/prepunion.c index 2dc293b74d1..1d92cc5628b 100644 --- a/src/backend/optimizer/prep/prepunion.c +++ b/src/backend/optimizer/prep/prepunion.c @@ -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);