Juergen E. Fischer
6a8a9d441b
postgres provider:
...
- disable "Add" in selection dialog while column type thread is running
- fix detection of integer keys
- when adding feature update attributes and feature id in passed features
2012-01-18 21:42:01 +01:00
Giuseppe Sucameli
9e71b01140
show the correct feature's type name in debug messages
2012-01-17 20:29:46 +01:00
Juergen E. Fischer
70288272f7
postgres provider: fix default value assignment
2012-01-17 20:26:37 +01:00
Juergen E. Fischer
6c9663c492
postgis provider: fix geometry detection
2012-01-17 16:32:04 +01:00
Juergen E. Fischer
98876da998
commit error update:
...
- push commit errors in PostgreSQL, OGR and SpatiaLite provider
- add provider errors to commit error
- postgres provider: improve handling of geography columns
2012-01-17 15:33:39 +01:00
Juergen E. Fischer
6f2ade7983
error logging:
...
- fix key message in postgres provider
- add logging of errors to spatialite provider
- log commit errors in vector layer
2012-01-15 21:57:07 +01:00
Giuseppe Sucameli
3af5694e3d
use a better default name for the new pk field when creating a new empty PG table
2012-01-13 10:32:22 +01:00
Giuseppe Sucameli
b016c0e6ee
fix add features in PG provider broken in recent refactoring
2012-01-12 23:31:21 +01:00
Juergen E. Fischer
2b739d945d
postgres provider:
...
- base geometrytype filtering on GeometryType not WkbType
- use tooltips on dataitems
- fix #4783
- adapt #4767
2012-01-11 19:26:08 +01:00
Juergen E. Fischer
ff6a46e8ef
postgres provider fixes
2012-01-10 22:12:53 +01:00
Sandro Santilli
302c1a7ebb
Use ST_MakeEnvelope with PostGIS 2.0+ to build query rectangle
2012-01-10 15:22:46 +01:00
Juergen E. Fischer
ce4fc1daa5
[FEATURE][API] postgres provider refactoring:
...
- use m prefix for member variables and s prefix for class variables
- refactor QgsPostgresProvider::Conn and QgsPostgresConnection to QgsPostgresConn
- put QgsColumnTypeThread into separate file
- use QgsPostgresConn in QgsPgSourceSelect
- cleaner abort of column type thread (e.g. remove unfinished columns from
selection list)
- [API] move QgsDbTableModel as QgsPgTableModel to provider
- [FEATURE] support for arbitrary key (including non-numeric and multi column)
- [FEATURE][API] support for requesting a certain geometry type and/or srid in QgsDataSourceURI
* no more explicit filter strings
* support for empty tables without gemetry_columns entry or GEOMETRY type.
2012-01-09 13:52:00 +01:00
Juergen E. Fischer
100d702bd0
[FEATURE] add uuid generator widget
2011-12-30 16:23:23 +01:00
Juergen E. Fischer
0715f70f73
postgres provider: remove ctid limitation to 32bit
2011-12-22 22:31:15 +01:00
Juergen E. Fischer
ac93c0c30f
apply #4685
2011-12-20 17:49:50 +01:00
Juergen E. Fischer
b8e5a34a92
[FEATURE] allow to disable SelectAtId capability for PostgreSQL provider to
...
force usage of the attribute table memory model. Apparently the memory model
was completely disfunctional before. Fixes included, but it probably needs
more testing.
2011-11-30 01:01:22 +01:00
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