Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importing shapefile into PG with drag and drop does not work #16032

Closed
qgib opened this issue Dec 20, 2012 · 3 comments
Closed

importing shapefile into PG with drag and drop does not work #16032

qgib opened this issue Dec 20, 2012 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 20, 2012

Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 6907
Affected QGIS version: master
Redmine category:db_manager


I can import the attached shapefile using DB manager new "load layer" function, and it takes just a few seconds as it does SPIT, but if I try to import it using the D&D from the qgis browser then the operation never ends (or if it ends it takes ages).

The issue seems to be the following:

the shape has already an "id" column and DB manager try to use the same name for the primary key. In QGIS 1.8 the import fails with an error (column duplicate), while in master the process goes nowhere.

if the primary key column name is changed manually then it works as expected.

I'm testing using a local PG server.


@qgib
Copy link
Contributor Author

qgib commented Dec 31, 2012

Author Name: Paolo Cavallini (@pcav)


  • assigned_to_id was changed from Giuseppe Sucameli to anonymous

@qgib
Copy link
Contributor Author

qgib commented Jan 6, 2013

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "460f578d937e640e1690af53c08710575012a620".


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 29, 2014

Author Name: Jürgen Fischer (@jef-n)


  • assigned_to_id removed anonymous

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin
Projects
None yet
Development

No branches or pull requests

1 participant