209 Commits

Author SHA1 Message Date
mhugent
44339a85d8 take DEFAULT as the postgres providers default value (instead of NULL)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5509 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-06-07 05:55:42 +00:00
g_j_m
8e7de6fe7e Some more tweaks to debug statements
git-svn-id: http://svn.osgeo.org/qgis/trunk@5458 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-05-15 10:21:43 +00:00
g_j_m
41b46ebd0b Tidy up a few debugging output statements
git-svn-id: http://svn.osgeo.org/qgis/trunk@5457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-05-15 09:34:05 +00:00
g_j_m
0eed881b33 Fix for ticket #108.
- Postgres provider: Remove some declared but not defined functions that
  were shadowing some inherited functions of the same name.

- Provide a function to give a version of the layer source without passwords
  in it for use in user visible places. Altered relevant code to use
  this.

- Moved the vector layer source text from the General tab into the
  Metadata tab in the vector properties box (fits better in there,
  particularly when the text is long).

- Added the sql text to the vector layer source text in appropriate places
  and fixed a few cases of where it wasn't propagating to all of the places
  that it should of been.

- Added a function to QgsDataSourceUri to give the uri in a single
  qstring for display purposes.


git-svn-id: http://svn.osgeo.org/qgis/trunk@5423 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-05-07 05:29:25 +00:00
mhugent
efddf4b650 changed geometry type return of postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@5421 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-05-05 12:35:04 +00:00
mhugent
329874901d fix for a bug which prevented commiting changed multiline geometries
git-svn-id: http://svn.osgeo.org/qgis/trunk@5419 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-05-04 15:03:32 +00:00
g_j_m
0d38805895 - Fix a couple of crashes when trying to load a postgres layer that contains
geometry types that Qgis doesn't support.

- Properly close the postgres connection if the layer fails to load

- Fix up a missing \n



git-svn-id: http://svn.osgeo.org/qgis/trunk@5278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-14 10:55:52 +00:00
g_j_m
32fcc4a4db - Change to API for QgsMessageViewer (allow plain text or html input,
required changes in all code that uses QgsMessageViewer)

- Improvements to messages when qgis can't find a key column in a
postgres table
- Fix a couple of bugs when loading postgres tables (invalid layers
would appear to load, giving a legend entry, but not show anything on
the map)
- Tidy up of #includes in postgres files


git-svn-id: http://svn.osgeo.org/qgis/trunk@4911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-02-28 06:50:37 +00:00
gsherman
9d02a24a3e Moved providers directory to src subdirectory
git-svn-id: http://svn.osgeo.org/qgis/trunk@4618 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 19:53:28 +00:00