Hello Estevan,

This was already reported here:

https://hub.qgis.org/issues/9803


You can fix this by setting the primary key field in the add postgis Layer
Dialog.

Hope this helps


On Mon, May 5, 2014 at 5:33 PM, Estevan Barbará
<[email protected]>wrote:

> Hello folks
> I'm adding some views to a project and one of them returns the error "is
> an invalid layer".
> The log shows that instead of the id field, it is getting line_id as key,
> a not unique integer.
> Is there some way to fix it?
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to