Postgres通过SQL语句复制表结构

分享到:

在创建临时数据表的时候会有用

1create table if not exists foo as (select * from bar) with no data;