[QGIS-trac] Re: [Quantum GIS] #2911: Enable the query builder for view that don't have unique id

Quantum GIS qgis at qgis.org
Wed Jul 28 09:27:58 EDT 2010


#2911: Enable the query builder for view that don't have unique id
-----------------------------------------------------+----------------------
        Reporter:  pinux                             |         Owner:  nobody                      
            Type:  bug                               |        Status:  closed                      
        Priority:  major: does not work as expected  |     Milestone:  Version 1.6.0               
       Component:  Data Provider                     |       Version:  Trunk                       
      Resolution:  wontfix                           |      Keywords:  Postgis, Query Builder, View
Platform_version:                                    |      Platform:  Windows                     
        Must_fix:  No                                |   Status_info:  0                           
-----------------------------------------------------+----------------------
Changes (by jef):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 In QGIS each feature needs to have a unique id (by which the feature can
 be retrieved, deleted updated etc.).   Filtering by 'test1' probably gives
 you a unique value and therefore makes the view insertable.

 As workaround you could probably combine the gids of polygon and line to
 produce a unique key.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2911#comment:1>
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