Andrew Geery <andrew(dot)geery(at)gmail(dot)com> writes:
> I think I've tracked down the problem, although I haven't been able to
> get a stack trace yet. I'm afraid that it's my own stupidity, but I
> still don't understand why this crashes the entire engine.
Me either. Can you narrow it down to a self-contained test case so
others can reproduce the problem?
regards, tom lane