标签:log cti tab col ext func tps creat ace
CREATE OR REPLACE FUNCTION getTable(rows INTEGER)
RETURNS TABLE(col1 INTEGER, col2 TEXT)
AS $$
BEGIN
RETURN QUERY SELECT i * 2, i || ‘_text‘
FROM generate_series(1, rows, 1) as t(i);
END;
$$ LANGUAGE PLPGSQL;
https://www.cnblogs.com/winkey4986/p/6437811.html
pg递归查询
https://www.jb51.net/article/161399.htm
标签:log cti tab col ext func tps creat ace
原文地址:https://www.cnblogs.com/joyvon/p/11925142.html