postgresql中存储过程——清空数据库数据

每轮测试以前,都须要清空前一轮数据,用存储过程来完成此操做,省时省力web create or replace function del_tables() returns void As $$ declare tmp varchar(512) declare tablenames cursor for select tablename from pg_tables where sche
相关文章
相关标签/搜索