/
balmaster
/
postgres
Обзор
Документация
Войти
/
balmaster
/
postgres
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/pl/tcl/sql/pltcl_start_proc.sql
21 строка
506 B
Tom Lane
Invent start_proc parameters for PL/Tcl.
07 мар 2017, 20:40
07 мар 2017, 20:40
0d2b1f3
Код
Авторство
О чём код?
-- -- Test start_proc execution -- SET pltcl.start_proc = 'no_such_function'; select tcl_int4add(1, 2); select tcl_int4add(1, 2); create function tcl_initialize() returns void as $$ elog NOTICE "in tcl_initialize" $$ language pltcl SECURITY DEFINER; SET pltcl.start_proc = 'public.tcl_initialize'; select tcl_int4add(1, 2); -- fail create or replace function tcl_initialize() returns void as $$ elog NOTICE "in tcl_initialize" $$ language pltcl; select tcl_int4add(1, 2); select tcl_int4add(1, 2);