Postgresql导出指定的数据表

两对双引号""""是用于解决:pg_dump: no matching tables were found 问题。

pg_dump -h localhost -p 5432 -U postgres -d mydb -t ""demoTable1"" -t ""demoTable2"" > D:\backup.sql

原文地址:https://www.cnblogs.com/Jim-william/p/6728877.html