Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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)

patch_for_bug_995.txt (998 bytes ) - added by smizuno 16 years ago.

Download all attachments as: .zip

Change History (4)

by smizuno, 16 years ago

Attachment: patch_for_bug_995.txt added

comment:1 by smizuno, 16 years ago

Component: Build/InstallData Provider
Keywords: PostGIS metadata added

comment:2 by jef, 16 years ago

Resolution: fixed
Status: newclosed

fixed in r8233

comment:3 by (none), 15 years ago

Milestone: Version 1.0.0

Milestone Version 1.0.0 deleted

Note: See TracTickets for help on using tickets.