I have a PostGIS table with multiple unique, not-null, INT4 columns. QGis seems to latch onto the first unique, not-null column rather than the primary key. Is there any way to control that? Ron Bentley