postgresql 导出单张表

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cn_yaojin/article/details/85263638
pg_dump --host 127.0.0.1 --port 5432 --username "postgres" --role "postgres"  --file "D:/test.sql" --table "public.\"表名\"" "数据库名"

猜你喜欢

转载自blog.csdn.net/cn_yaojin/article/details/85263638