"Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> writes:
> TRAP: FailedAssertion("!(parse->utilityStmt == ((void *)0))", File:
> "prepunion.c", Line: 114)
> ISTM the Assertion is just bogus, and can be removed.
Good catch --- this used to be OK but I'd changed the parsetree
representation of DECLARE CURSOR, so it's now bogus. Removed.
regards, tom lane