[Qgis-developer] QGIS choosing invalid primary key column

Jürgen E. Fischer jef at norbit.de
Mon Jun 11 02:41:19 PDT 2012


Hi Ivan,

On Mon, 11. Jun 2012 at 11:37:05 +0200, Ivan Mincik wrote:
> I have found that QGIS is not choosing proper 'gid serial' primary key
> column when integer column with unique constraint exists in table.

That's removed in 1.8.  You have to choose the column there.  Having a unique
constraint on a column that is contained in view, doesn't mean it's unique in
the view anyway.

Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de
committ(ed|ing) to Quantum GIS                         IRC: jef on FreeNode                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list