[QGIS-trac] Re: [Quantum GIS] #3820: Layer postgres dont recognize unique key index

Quantum GIS qgis at qgis.org
Wed May 11 13:39:57 EDT 2011


#3820: Layer postgres dont recognize unique key index
------------------------------------------------+---------------------------
   Reporter:  aperi2007                         |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  Data Provider                     |            Version:  Trunk        
   Keywords:                                    |   Platform_version:  7            
   Platform:  Windows                           |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by aperi2007):

 I do some other test.
 I notice it work if the 'id' field is a primary key.
 So the existence of an unique index on a int4 field seem to be not enough.
 But it must be also primary key.

 I don't know if this is a bug or not.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3820#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list