Re: SQLFunctionCache and generic plans

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQLFunctionCache and generic plans
Дата
Msg-id 1454289.1743707630@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SQLFunctionCache and generic plans  (Alexander Lakhin <exclusion@gmail.com>)
Ответы Re: SQLFunctionCache and generic plans
Список pgsql-hackers
Alexander Lakhin <exclusion@gmail.com> 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



В списке pgsql-hackers по дате отправления: