postgres 临时表

直接创建临时表
create temp table tbl_temp(a int);


根据另外一个表创建临时表
CREATE TEMP TABLE mytable AS
SELECT * from source_tab;
原文地址:https://www.cnblogs.com/BinBinGo/p/13415428.html