CREATE OR REPLACE FUNCTION myfunction (input int, OUT result int) AS $$
plpy.info(" ========= EXTRA-module result: ===",result)
mymodule ============的===内容 import StringIO
t
有没有什么plpy。以一致的方式访问目录或架构以便派生类型或可迭代结构以返回的方法,而不必在plpythonu过程中定义类?to have it's attributes pulled from the tt type def __init__(self, id, name):#-- give me 1 record
#-- ret
create or replace function my_func()$$ for k, v in os.environ.items():MY_VAR = os.getenv('MY_VAR') plpy.info('was not found')
return -1plpy.info('MY_VAR:' + MY
test_notif_trigger_function() RETURNS trigger ASupdateQuery = """"""
plpy.execute(plan)
DROP TRIGGER IF EXISTS test_notif_trigger ONtest_notif_trigger_function() R