pgsql(解决问题过程中的资料收集)
来源:互联网 发布:matlab如何拟合数据 编辑:程序博客网 时间:2024/06/08 03:04
pgsql2shp -f kota.shp -h 172.27.1.245 -u oracle bphilir “select distinct(nama),a.the_geom from map_town a, map_province_boundary_polygon b where a.the_geom @ b.the_geom AND (province=’JAWA TENGAH’ OR province=’JAWA TIMUR’ OR province=’YOGYAKARTA’)”
Preparing table for user query… Done.
Initializing… Done (postgis major version: 1).
Output shape: Point
Dumping: XXXXXXX [580 rows].
What I wanted to say is, that
shp2pgsql shapefile table db | psql -d db
is running fine and uploading data is no problem. I don't get an
error message about any TCP/IP problems.
So my problem still exists, that I can't get my data out of the
table into a shapefile.
Reading the Online Doc there should not be a problem using the
dumper. It's only the
pgsql2shp [<options>] <database> <table>
command from the commandline, isn't it?
The command 'psql -d db' DOES NOT use TCP/IP sockets to connect to
the db, it uses unix sockets (by default). Whereas, pgsql2shp DOES
use TCP/IP sockets. Therefore, the advice that David Garnier gave
you, still stands. Check your config, or start your database with the
-i flag to allow tcp connections.
've got it. My problem was that I've started the postmaster with the
pg_ctl script but here I couldn't set the -i flag. So now I'm starting the
postmaster with the postmaster file and here it works fine.
Thanks to all.
- pgsql(解决问题过程中的资料收集)
- 开发过程中的一些资料收集---
- pgsql存储过程(实例)
- MySQL存储过程资料收集
- MySQL存储过程资料收集
- MySQL存储过程资料收集
- PGSQL学习&&资料链接
- Busybox init进程启动过程 (资料收集)
- Busybox init进程启动过程 (资料收集)
- pgSQL 集群过程
- linq资料(收集)
- 句柄(资料收集)
- pgSql分区表新建及过程(BBB,ZJLJB)
- pgsql中的json操作
- android在工业中的应用资料收集
- Emacs中的资料收集工具--Remember
- Ubuntu解决问题资料记录
- CentOS解决问题资料记录
- 关于Hook的不当使用和系统热键的使用范例
- 设计模式--SINGLETON
- TinyXML基础知识(包含类的说明)
- WTL 学习
- CSS全兼容实现文字省略标记
- pgsql(解决问题过程中的资料收集)
- 从网上搜集的一些eclipse相关快捷键
- tinyXML中FirstChild用法
- TiXml中修改元素的值
- DataStage开发规范
- linux设备驱动读书笔记
- TiXml删除一个元素的值
- blog开通了
- 程序员的君子五德