/
balmaster
/
postgres
Обзор
Документация
Войти
/
balmaster
/
postgres
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/test/modules/test_ddl_deparse/expected/create_transform.out
15 строк
695 B
Tom Lane
Solve cross-version-upgrade testing problem induced by
1fb57af
.
10 фев 2019, 05:02
10 фев 2019, 05:02
068503c
Код
Авторство
О чём код?
-- -- CREATE_TRANSFORM -- -- Create a dummy transform -- The function FROM SQL should have internal as single argument as well -- as return type. The function TO SQL should have as single argument -- internal and as return argument the datatype of the transform done. -- We choose some random built-in functions that have the right signature. -- This won't actually be used, because the SQL function language -- doesn't implement transforms (there would be no point). CREATE TRANSFORM FOR int LANGUAGE SQL ( FROM SQL WITH FUNCTION prsd_lextype(internal), TO SQL WITH FUNCTION int4recv(internal)); NOTICE: DDL test: type simple, tag CREATE TRANSFORM DROP TRANSFORM FOR int LANGUAGE SQL;