#995 closed patch (fixed)
metadata in PostGIS layer properties doesn't show specific storage type
Reported by: | smizuno | Owned by: | jef |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | |
Component: | Data Provider | Version: | Trunk |
Keywords: | PostGIS metadata | Cc: | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
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.
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | patch_for_bug_995.txt added |
---|
comment:1 by , 15 years ago
Component: | Build/Install → Data Provider |
---|---|
Keywords: | PostGIS metadata added |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in r8233