用我写的软件可以用excel导入到postgresql,你上网找fitreport就行了。或者这样做:可以写语句或采用以下的方法网上转录下来的方法:步骤:1.将excel表格字段,按照postgresql数据库中表的字段顺序来整理数据,并保存为csv文件。2.用记事本打开csv文件,另存为utf-8格式。3.使用pgadmin客户端链接postgresql数据库,执行如下脚本,导入csv文件到postgresql数据表:copytestdatafrom'd:/test/testdata.csv'delimiteras','csvquoteas'"'注:testdata是postgresql数据库表的名称。注意事项:1.test目录需要赋予postgres用户可读写的权限,否则会有如下报错信息:error:couldnotopenfile"d:/testdata2.csv"forwriting:permissiondenied2.csv文件要为utf-8格式,否则导入时可能会有报错:error:invalidbytesequenceforencoding"utf8":0xcdf53.注意windows环境下文件路径的表述方式,如:d:/test/data.csv