Re: plpgsql raise - parameters can be expressions

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: plpgsql raise - parameters can be expressions
Дата
Msg-id 42AD7580.1000901@samurai.com
обсуждение исходный текст
Ответ на plpgsql raise - parameters can be expressions  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Список pgsql-patches
Pavel Stehule wrote:
> I did trivial patch which eliminate limit raise command.

In thinking about this some more, it would be nice to be able to use
exec_eval_expr() to reduce expression evaluation overhead for simple
RAISE parameters. It is easy enough to refactor the current
exec_eval_expr() code so this is possible, but it will be of only
limited use: PL/PgSQL currently only considers expressions that result
in a single attribute as sufficiently simple that they can be evaluated
via ExecEvalExpr(). I wonder how much work it would take to lift this
restriction...

-Neil

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