<p dir="ltr">AFAIK the last postgres versione dismiss by default the oid.</p>
<div class="gmail_quote">Il 21/mag/2014 11:54 "Régis Haubourg" <<a href="mailto:regis.haubourg@eau-adour-garonne.fr">regis.haubourg@eau-adour-garonne.fr</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I'm facing a severe bug in qgis 2.2 and master here.<br>
I have layers defined in existing project that do not have a key in<br>
datasource definition.<br>
It seems that when a table has a oid field, postgis connection dialog does<br>
not ask for a key field (it is a multi column primary key in that case).<br>
When i had manually in definition string key=oid,  all seems fine.<br>
The major problem is that most user existing project will be impacted.<br>
<br>
Did I miss something? Why is key=oid no more explicitly written in<br>
datasource def?<br>
<br>
Thanks for your lights<br>
Régis<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/qgis-freezes-when-opening-attribute-table-of-a-postgis-layer-without-key-value-tp5141587.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/qgis-freezes-when-opening-attribute-table-of-a-postgis-layer-without-key-value-tp5141587.html</a><br>

Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>