Bug report #7160

PostGIS datasource selector shows unexistent fields in the "Primary Key" selector list

Added by Sandro Santilli almost 9 years ago. Updated almost 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider/PostGIS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:16217

Description

I have tables with only geometry fields, called:

"a", "b", "a+b", "b-a", "a+(b-a)"

The "Add PostGIS Layers" UI window correctly shows 5 entries for that table (one for each column) but puts a list of fields from another table (some topological edge table) into the "Primary Key" selector. No idea where that list comes from.

This is as of 314d144

Associated revisions

History

#1 Updated by Sandro Santilli almost 9 years ago

The bug is unrelated to the kind of table, it happens even if I drop that table.
Also, I've upgraded to current master (c036e7e) where it still happens

#2 Updated by Jürgen Fischer almost 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF