Bug report #17342
Processing: Import into PostGIS fails with mystery error message if schema doesn't exist
|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|
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".