Обсуждение: Compiling pl/pgsql functions?

Поиск
Список
Период
Сортировка

Compiling pl/pgsql functions?

От
Daniel Bruce Lynes
Дата:
Through preliminary examination, it appears stored procedures using pl/pgsql
in PostgreSQL 7.3 are interpreted, rather than compiled?

When we insert a stored function into PostgreSQL, the syntax check is not done
until execution, and only on the branch/path of execution, not on the entire
function.

Is there any way to precompile the pl/pgsql functions so that we know if
there's a missing object dependency upon function creation, rather than at
runtime?

Thanks in advance.