[QGIS-trac] [Quantum GIS] #2488: Unable to add filter to PostGIS layer while "Render" option is turned off

Quantum GIS qgis at qgis.org
Wed Mar 3 20:43:27 EST 2010


#2488: Unable to add filter to PostGIS layer while "Render" option is turned off
---------------------------------------------------------+------------------
   Reporter:  bstempi                                    |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Data Provider                              |            Version:  HEAD         
   Keywords:  postgis querybuilder                       |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 I found that I was not able to add filters on PostGIS layers while the
 "Render" option in the lower right hand corner is unchecked.  The idea was
 to add a layer, stop the rendering, add a filter on my layer, and *then*
 to render (to save bandwidth).

 After unchecking "Render," I right-clicked on the layer, and went to
 Properties-> General-> Query Builder.  I received a database error for
 every WHERE clause I wrote.  After clicking "cancel," I checked the
 "Render" option, navigated back into the Query Builder, and was able to
 use WHERE clauses that previously failed.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2488>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list