Alexander Lakhin <[email protected]> writes: > I've discovered that starting from 0dca5d68d, the following query: > CREATE FUNCTION f(x anyelement) RETURNS anyarray AS '' LANGUAGE SQL; > SELECT f(0);
> triggers:
> TRAP: failed Assert("fcache->func->rettype == VOIDOID"), File: "functions.c",
> Line: 1737, PID: 3784779
Drat. I thought I'd tested the empty-function-body case, but
evidently that was a few changes too far back. Will fix,
thanks for catching it.
regards, tom lane
