Feature request #995

metadata in PostGIS layer properties doesn't show specific storage type

Added by Steven Mizuno almost 17 years ago. Updated over 15 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Data Provider
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:11055

Description

In the metadata tab of PostGIS layer properties the line "Storage type of this layer:" shows "Generic vector file"

This seemed odd since a shapefile layer would show "ESRI Shapefile" in its properties.

Checking with version 0.8.1, PostGIS layers have "PostgreSQL database with PostGIS extension" for storage type.

This is a very minor defect.

I found that the storageType() function declared in qgspostgresprovider.h and defined in qgspostgresprovider.cpp was missing a trailing const modifier. In the patch provided I also added virtual in the declaration, but I am a bit confused as to whether it should be used, since the usage appears inconsistent with other similar functions.

patch_for_bug_995.txt Magnifier (998 Bytes) Steven Mizuno, 2008-03-16 07:03 AM

Associated revisions

Revision c1669e2a
Added by Jürgen Fischer almost 17 years ago

- add getUniqueValues method to QgsVectorDataProvider
- implement getUniqueValues in QgsPostgresProvider (fixes #399)
- implement getUniqueValues, minValue and maxValue in OgsOgrProvider
- use getUniqueValues in QgsUniqueValueDialog
- update QgsPostgresProvider::storageType interface (fixes #995)
(applied patch from Steven Mizuno, thanks again)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8233 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision d8460108
Added by Jürgen Fischer almost 17 years ago

- add getUniqueValues method to QgsVectorDataProvider
- implement getUniqueValues in QgsPostgresProvider (fixes #399)
- implement getUniqueValues, minValue and maxValue in OgsOgrProvider
- use getUniqueValues in QgsUniqueValueDialog
- update QgsPostgresProvider::storageType interface (fixes #995)
(applied patch from Steven Mizuno, thanks again)

git-svn-id: http://svn.osgeo.org/qgis/trunk@8233 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer almost 17 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in

#2 Updated by Anonymous over 15 years ago

Milestone Version 1.0.0 deleted

Also available in: Atom PDF