Opened 14 years ago

Closed 14 years ago

#3242 closed patch (fixed)

Bug in postgis layer geometry type detection when a filter is applied.

Reported by: jpalmer Owned by: jef
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Data Provider Version:
Keywords: postgis postgresql Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description

When adding a PostGIS layer and the estimated table metadata option is turned on, you can not apply a filter to layer and "Unknown geometry type" error is raised.

The reason for this is the SQL to determine the layer geometry type was corrupted in r13340 (add custom query capabilities).

This patch fixes the query.

Attachments (1)

postgis_geom_detect.diff (1.2 KB ) - added by jpalmer 14 years ago.

Download all attachments as: .zip

Change History (2)

by jpalmer, 14 years ago

Attachment: postgis_geom_detect.diff added

comment:1 by jef, 14 years ago

Resolution: fixed
Status: newclosed

applied in r14748. Thanks.

Note: See TracTickets for help on using tickets.