<div dir="ltr"><div><div><div>Hi<br><br></div>I have some tables with a primary key but without the typical "nextval(... sequence...)" definition:<br><br>CREATE TABLE nplso_2495.chcantoncode<br>(<br>  itfcode integer NOT NULL,<br>  ilicode character varying(1024) NOT NULL,<br>  seq integer,<br>  dispname character varying(250) NOT NULL,<br>  CONSTRAINT chcantoncode_pkey PRIMARY KEY (itfcode)<br>)<br>WITH (<br>  OIDS=FALSE<br>);<br><br></div>I can load the table in QGIS but when opening the attribute table it only shows three times the "itfcode" column.<br><br></div>It works with tables with a primary key like this: <br><br>t_id integer NOT NULL DEFAULT nextval('nplso_2495.t_ili2db_seq'::regclass),<br><div><div><div><div><br></div><div>Can anybody confirm? I'm on master on ubuntu 16.04.<br><br></div><div>regards<br></div><div>Stefan<br></div></div></div></div></div>