# 导出表结构
pg_dump  -U postgres -s helloworld > hello.sql 


# 导出表数据
pg_dump  -U postgres  helloworld > hello.sql 

相关文章: