-
在postgresql中运行sql文件并导出结果的 *** 作
方法一 在psql中运行在终端进入用户test下的数据库testdb:$ psql -p 5432 -U test -d testdb假设要执行的.sql文件叫做d1.sql,存放路径为:mnthgfssharedatabase
方法一 在psql中运行在终端进入用户test下的数据库testdb:$ psql -p 5432 -U test -d testdb假设要执行的.sql文件叫做d1.sql,存放路径为:mnthgfssharedatabase