250 Commits

Author SHA1 Message Date
Juergen E. Fischer
66e2ab0e78 remove superfluous closing parenthesis 2011-11-29 10:02:39 +01:00
Sandro Santilli
7ef04f69ca Simplify generation of SQL query for selecting features in a box.
This is propedeutic to upcoming changes related to boxes in PostGIS 2.0
2011-11-25 20:45:57 +01:00
Sandro Santilli
cbf63027db [FEATURE] Detect topology support 2011-11-25 20:43:02 +01:00
Juergen E. Fischer
2ab61ff64f [FEATURE] message log window 2011-11-18 23:08:18 +01:00
Sandro Santilli
41de1a0045 Add support for TopoGeometry datatype
(don't get too excited)
2011-11-13 16:36:21 +01:00
Juergen E. Fischer
1d7d1c621d postgres provider: also consider int2 and int8 as primary candidates of views 2011-11-07 22:38:31 +01:00
Juergen E. Fischer
306efcb23b reduce debugging noise 2011-10-27 12:33:02 +00:00
Martin Dobias
2572388c68 Move selectWidget() and dataCapabilities() to data items file where it belongs 2011-10-18 23:02:09 -03:00
Martin Dobias
a561a4a143 Move PG data items to separate cpp/h files 2011-10-11 13:45:55 -03:00
Martin Dobias
eb298d8f3b Add, edit and remove PG connections in browser dock 2011-10-11 13:45:55 -03:00
Juergen E. Fischer
743f207575 fix some warnings 2011-09-29 21:51:12 +00:00
Juergen E. Fischer
5e9d95b88a indentation update 2011-09-29 20:32:51 +00:00
Giuseppe Sucameli
1a70dddca1 [FEATURE] Import a vector layer from a datasource to a different one
Merge of another part of my Summer of Code work (remote-tracking branch 'brushtyler/import_layer')
2011-09-15 02:34:03 +02:00
Giuseppe Sucameli
6eb406b122 Move import feature main code to QgsVectorLayerImport and keep just few methods in providers 2011-09-12 21:08:13 +02:00
Martin Dobias
f93214052b Shorter postgis root data item 2011-09-01 19:51:42 +02:00
Martin Dobias
a8d040e135 Merge remote-tracking branch 'remotes/giuseppe/dataitems' into dataitems
Conflicts:
	src/app/CMakeLists.txt
2011-08-30 21:11:36 +02:00
Giuseppe Sucameli
b6587d300e fix invalid postgres type when converting field,
removed some commented and unused code
2011-08-23 19:59:06 +02:00
Giuseppe Sucameli
24b73e653e convert the primary key type name to a PG valid one,
add a new options param to importVector
2011-08-23 16:49:06 +02:00
Giuseppe Sucameli
00d7498075 [FEATURE] import a layer from canvas into a PG database 2011-08-23 16:49:06 +02:00
Juergen E. Fischer
b86243ed9f slightly better solution for recovering broken postgres connections 2011-08-03 13:42:28 +02:00
Marco Hugentobler
684398e978 Try to reopen broken postgres connection 2011-08-03 13:14:49 +02:00
Juergen E. Fischer
fe65ed7688 postgres provider: also consider ltree columns 2011-07-22 17:55:02 +02:00
Giuseppe Sucameli
cddd427399 fix connection info passed to QgsGeomColumnTypeThread broken in 6989fc7,
hide close and add buttons from PG source select dialog when in embedded mode (e.g. qbrowser)
2011-07-18 23:31:34 +02:00
Juergen E. Fischer
92b5a2c9b1 fix build problem with Qt 4.4 2011-07-17 23:01:46 +02:00
Juergen E. Fischer
794907cbe0 [BACKPORT] fix #4089
- postgres provider: fix detection of field length and precision for char and numeric fields.
- attribute editor: fix validation in case the field length is unknown
2011-07-15 16:17:47 +02:00
Giuseppe Sucameli
bd3f77a2c7 add QgsDataItem to the postgres provider 2011-07-12 19:06:26 +02:00
Giuseppe Sucameli
7647d82721 get supported layers from the provider 2011-07-12 19:05:34 +02:00
Juergen E. Fischer
97f8039e9d add support for mixed case geometry types of PostGIS 2.0 2011-07-05 18:14:10 +02:00
Juergen E. Fischer
4d75a7d3e4 postgresql provider: fix 64bit ints 2011-07-01 00:17:33 +02:00
Juergen E. Fischer
c4258c993b postgres provider: fix endianess detection 2011-06-21 17:52:24 +02:00
Juergen E. Fischer
bb9e992699 fix windows build 2011-06-17 15:13:56 +02:00
Juergen E. Fischer
5a3a87fde2 [FEATURE] support 64bit feature ids 2011-06-16 20:30:07 +02:00
Juergen E. Fischer
a57968532b document impact of using estimated table metadata (and revert last commit) 2011-06-07 22:32:07 +02:00
Gary Sherman
c1065b9cd6 Fix feature count for postgres provider so it doesn't use estimated metadata when reporting results of a subset in the query builder 2011-06-07 08:33:22 -08:00
Juergen E. Fischer
5a6d3cebcc remove svn Id tags 2011-05-26 23:05:55 +02:00
jef
776b932868 improve handling of empty extents (fixes #2997)
git-svn-id: http://svn.osgeo.org/qgis/trunk@15809 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-22 14:02:32 +00:00
jef
5ab4c22819 postgres provider: fix numeric types with precision
git-svn-id: http://svn.osgeo.org/qgis/trunk@15748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-17 14:00:45 +00:00
jef
9b114c800b update postgis capabilities detection
git-svn-id: http://svn.osgeo.org/qgis/trunk@15596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-25 06:45:35 +00:00
mhugent
c3ac6df9ee [FEATURE] Add diagram system that uses the same pal instance as labeling-ng
git-svn-id: http://svn.osgeo.org/qgis/trunk@15503 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-15 16:43:23 +00:00
mhugent
1054cfaa54 More robust detection for domain constraint
git-svn-id: http://svn.osgeo.org/qgis/trunk@15347 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-05 22:31:01 +00:00
jef
ebc2629142 postgres provider: use set application_name (fixes r15280) and verify that pg_is_in_recovery() is false
git-svn-id: http://svn.osgeo.org/qgis/trunk@15284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-28 17:01:13 +00:00
jef
ed9af81226 postgres support: include application_name in connections
git-svn-id: http://svn.osgeo.org/qgis/trunk@15280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-27 19:48:46 +00:00
mhugent
f1a655f480 [FEATURE]: experimental table join support refactored and ported from branch to trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk@15155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-11 16:23:17 +00:00
jef
3cc6f3f9a3 fix #3451: don't recheck saved primary key column for views when 'use estimates' is on
git-svn-id: http://svn.osgeo.org/qgis/trunk@15107 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-29 20:39:52 +00:00
jef
9707370615 postgres provider update: use st_ functions only with postgis>=2 and the old one with earlier postgis version
git-svn-id: http://svn.osgeo.org/qgis/trunk@15072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-24 21:48:40 +00:00
jef
78cc7abf2a postgres provider: fix enumeration parsing
git-svn-id: http://svn.osgeo.org/qgis/trunk@15048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-14 20:47:27 +00:00
jef
b9a630f936 followup on r15028: more postgis st_ fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@15037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-13 22:37:41 +00:00
jef
c23bffc70b fix r15023: restore use of geometrytype as it's not deprecated and use
different geometry type notation

git-svn-id: http://svn.osgeo.org/qgis/trunk@15028 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-13 01:08:58 +00:00
jef
21c24616e0 update postgis support to use st_ variants instead of old deprecated
(and now removed) versions.

git-svn-id: http://svn.osgeo.org/qgis/trunk@15023 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-12 23:07:05 +00:00
jef
b78d8556a4 allow vector data provider to record errors (currently only used in query
builder to report errors in where clauses from OGR and postgres provider).


git-svn-id: http://svn.osgeo.org/qgis/trunk@14935 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-17 15:00:17 +00:00