[QGIS-trac] Re: [Quantum GIS] #3453: "Add Postgis Tables(s)" dialog causes expensive query (was: Postgis layer load starts out with unnecessarily expensive query)

Quantum GIS qgis at qgis.org
Sun Jan 30 13:15:30 EST 2011


#3453: "Add Postgis Tables(s)" dialog causes expensive query
------------------------------------------------+---------------------------
   Reporter:  arencambre                        |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Data Provider                     |            Version:  1.6.0        
   Keywords:                                    |   Platform_version:  7            
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
Changes (by arencambre):

  * platform:  Debian => Windows


Comment:

 Thanks. Further analysis yields a correction: The query happens when the
 '''Add Postgis Tables(s)''' dialog appears after clicking '''Add PostGIS
 Layer'''. While I'm waiting for this interminable query to end, the
 dialog's '''Type''' column says '''Waiting''' for most the candidate
 layers.

 And yes, it is issuing that query against the view.

 If the query could be limited to a reasonable timeframe (LIMIT 100?), that
 would be a satisfactory resolution to this issue.

 The query doesn't stop if I close the dialog. QGIS hangs until I manually
 cancel the query through PGAdmin III's Server Status utility.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3453#comment:2>
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