![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
postgreSQL
今天只卖大白菜
今天只卖大白菜,懒散的程序员
码云:
https://gitee.com/caicaizai/projects
展开
-
PostgreSQL初次安装,无法用Navicat连接
PostgreSQL安装后默认只能localhost:5432访问解决方案修改pg_hba.conf1.进入postgreSQL的data目录(例如:PostgreSQL\9.3\data),找到了pg_hba.conf文件,用记事本打开,把要连接服务器的网络加上去,如下图例如:host all all 192.168.1.0/24 trust表示允许网段192....转载 2018-11-28 17:22:00 · 9293 阅读 · 1 评论 -
postgresql数据库中geometry类型的字段
简要说明postgresql数据库中geometry类型的字段,是用于存放经纬度的字段类型,可以使用postgresql的Stack Builder安装postgis后,就能够插入拥有该字段数据类型的数据了。读取字段数据Select写法SELECT ST_AsText(location) FROM table利用Stack Builder安装postgis安装完postgresql以...转载 2018-11-28 17:37:27 · 29131 阅读 · 1 评论