[Qgis-user] Primary keys composed

Nicklas Avén nicklas.aven at jordogskog.no
Wed Jan 19 09:05:20 PST 2011


create a unique field in integer. QGIS use to be happy about that.

ALTER TABLE mytable ADD COLUMN uid SERIAL UNIQUE;


HTH
Nicklas


On Wed, 2011-01-19 at 16:50 +0000, Joaquim Condeça wrote:
> Hello
>  
> I'am tring to implement a data model with postgresql. 
>  
> The table have a primary key composed (VARCHAR) but the QGIS does not
> recogneize this primary key.
>  
> did you have some advises?
>  
> Beste Regards
>  
> Joaquim condeça
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user





More information about the Qgis-user mailing list