psql 导出单张表数据
两种方式:
1 命令:pg_dump --host 127.0.0.1 --port 5432 --username "postgres" --role "postgres" --file "D:/test.sql" --table "public.\"表名\"" "数据库名"
2 使用pgadmin 工具
move on
posted on 2019-11-22 10:14 Helianthus720 阅读(473) 评论(0) 收藏 举报
两种方式:
1 命令:pg_dump --host 127.0.0.1 --port 5432 --username "postgres" --role "postgres" --file "D:/test.sql" --table "public.\"表名\"" "数据库名"
2 使用pgadmin 工具
posted on 2019-11-22 10:14 Helianthus720 阅读(473) 评论(0) 收藏 举报