[Qgis-user] Qgis gets wrong postgis field as id

Alexandre Neto senhor.neto at gmail.com
Mon May 5 11:17:01 PDT 2014


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á
<estevan.barbara at gmail.com>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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140505/9cc78670/attachment.html>


More information about the Qgis-user mailing list