![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
postgresql数据库
shine_tianGirl
这个作者很懒,什么都没留下…
展开
-
excel数据导入postgresql数据库编码问题
1、连接数据库脚本命令:C:\postgre\9.5\bin\psql.exe -U postgres -d test2、查看客户端数据库test的编码脚本命令:show client_encoding;如果不是这个编码可修改脚本命令:set client_encoding=‘GBK’3、将已添加数据的excel文件另存为csv文件,编码设置为GBK格式其中,execl文件中数据要求,列要与数据库中数据列顺序相同,excel中的表头可删除,因为我导入的时候表头也导入了。数据类型要求:若数原创 2020-09-03 10:49:23 · 448 阅读 · 0 评论 -
**关于PostgreSQL failed to load SQLModule安装失败的解决办法**
win7 安装postgresql-9.5.21-2-windows-x64.exe,首次安装在最后的时候提示错误 Failed to load sql modules into the database cluster(未能将sql模块加载到数据库集群中)下面步骤是我解决的过程:1、按照网上的解决方案重新安装(建立postgres临时用户),但还是提示这个错误。2、大致也是上述建立临时用...原创 2020-04-09 11:38:45 · 808 阅读 · 1 评论