Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> I believe this is fixed in 7.4 (or at least your example does not crash in
> 7.4)
Yeah, this was just noticed and fixed a few weeks ago. I'm not aware
that there is any "crash" involved though, the query just fails in
existing releases.
regards, tom lane