<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-08-06 20:58 GMT+02:00 Jürgen E. <span dir="ltr"><<a href="mailto:jef@norbit.de" target="_blank">jef@norbit.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Randal,<br>
<span class=""><br>
On Thu, 06. Aug 2015 at 13:53:08 -0400, Randal Hale wrote:<br>
> In 2.8.x I can add the view and the Primary key is automatically displayed.<br>
<br>
</span>No, you're supposed to select the primary key.  In 2.8.x you also have to<br>
choose from all columns, but first one is preselected.  If that happens to be<br>
the primary key, you're fine, but that's not always the case and hence<br>
newer versions force you to actually select it.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Indeed I think is a good habit to organize the views to always have the gid as the first field in order to avoid the problem of choose the right PK column.<br></div><div>Now qgis already warns if the column is not suitable as a PK. Probably I miss something but I really can't understand the improvement of the new <span style="font-size:12.8000001907349px">behavior</span>.</div><div><br></div><div>Thanks for your patience and for the nice work with QGIS.<br></div><div>Luca</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></div><br></div></div>