/
githubmirror
/
postgres
Обзор
Документация
Войти
/
githubmirror
/
postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test/modules/test_extensions/test_ext_req_schema3--1.0.sql
12 строк
593 B
Tom Lane
Add @extschema:name@ and no_relocate options to extensions.
21 мар 2023, 01:37
21 мар 2023, 01:37
72a5b1f
Код
Авторство
О чём код?
/* src/test/modules/test_extensions/test_ext_req_schema3--1.0.sql */ -- complain if script is sourced in psql, rather than via CREATE EXTENSION \echo Use "CREATE EXTENSION test_ext_req_schema3" to load this file. \quit -- This formulation cannot handle relocation of the required extension. CREATE FUNCTION dep_req3() RETURNS text LANGUAGE SQL IMMUTABLE PARALLEL SAFE AS $$ SELECT @extschema:test_ext_req_schema1@.dep_req1() || ' req3' $$; CREATE FUNCTION dep_req3b() RETURNS text LANGUAGE SQL IMMUTABLE PARALLEL SAFE AS $$ SELECT @extschema:test_ext_req_schema2@.dep_req2() || ' req3b' $$;