Bug report #17342

Processing: Import into PostGIS fails with mystery error message if schema doesn't exist

Added by Anita Graser about 7 years ago. Updated over 6 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:Processing/QGIS
Affected QGIS version:2.18.13 Regression?:No
Operating System: Easy fix?:Yes
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25239

Description

To reproduce, try to import a dataset into a schema that hasn't been created yet.

The displayed error is "function takes exactly 5 arguments (1 given) See log for more details.

I think it's enough to display a better error message. I'm therefore flagging this as an "easy fix".

History

#1 Updated by Anita Graser over 6 years ago

  • Resolution set to fixed/implemented
  • Assignee deleted (Victor Olaya)
  • Status changed from Open to Closed

Fixed in QGIS 3

Also available in: Atom PDF