Postgresql導出指定的數據表

兩對雙引號"\"\""是用於解決:pg_dump: no matching tables were found 問題。sql

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

相關文章
相關標籤/搜索