[QGIS-trac] Re: [Quantum GIS] #1933: Fix PostGIS dataprovider to check for unique data with SQL where clause

Quantum GIS qgis at qgis.org
Tue Sep 22 19:27:05 EDT 2009


#1933: Fix PostGIS dataprovider to check for unique data with SQL where clause
-----------------------------------------------------+----------------------
        Reporter:  jpalmer                           |         Owner:  jef                
            Type:  bug                               |        Status:  closed             
        Priority:  major: does not work as expected  |     Milestone:                     
       Component:  Data Provider                     |       Version:  HEAD               
      Resolution:  fixed                             |      Keywords:  postgis, postgresql
Platform_version:  WinXP SP2                         |      Platform:  All                
        Must_fix:  No                                |   Status_info:  0                  
-----------------------------------------------------+----------------------
Changes (by jef):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 Replying to [comment:3 jpalmer]:
 > How about modifying the QgsPostgresProvider::setSubsetString method to
 recheck for the unique primary key by calling the
 QgsPostgresProvider::uniqueData() method?

 good point. Thanks.

 Fixed in r11703

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