-pg表授权
1.执行以下语句
SELECT 'GRANT ALL PRIVILEGES ON TABLE "' || tablename || '" TO ds_sdms_qd;'
FROM pg_tables
WHERE schemaname = 'ds_sdms_qd';
2.执行上述语句结果
-pg表授权
1.执行以下语句
SELECT 'GRANT ALL PRIVILEGES ON TABLE "' || tablename || '" TO ds_sdms_qd;'
FROM pg_tables
WHERE schemaname = 'ds_sdms_qd';
2.执行上述语句结果