Bug report #18532

GeoPackage features with booleans cannot be copy&paste to PostgreSQL

Added by gcarrillo - about 6 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Data Provider
Affected QGIS version:master Regression?:No
Operating System:GNU/Linux (Linux Mint based on Ubuntu Xenial) Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:26420

Description

GeoPackage stores booleans as integers, so a False is a 0 in GPKG.

When copying and pasting features with booleans from GPKG to PostgreSQL, the latter receives an integer and complains, not allowing to complete the operation.

History

#1 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Feedback

Please test with current master - this should be fixed

#2 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to no timely feedback
  • Status changed from Feedback to Closed

Also available in: Atom PDF