Bug report #6402

DB Manager and Varchar field lengths

Added by James Stott about 12 years ago. Updated about 12 years ago.

Status:Closed
Priority:Normal
Assignee:Giuseppe Sucameli
Category:DB Manager
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 #:15655

Description

DB Manager reports that my varchar fields are 4 characters longer than they actually are. PGAdmin reports the correct length. QGIS also refuses records that are longer than the correct length.

Windows 7 64 bit - QGIS 1.8.0 OSGeo4W

Associated revisions

Revision 99876ccb
Added by Giuseppe Sucameli about 12 years ago

db_manager: get fields' size from formatted type string (fix #6402)

History

#1 Updated by Giovanni Manghi about 12 years ago

  • Target version set to Version 2.0.0
  • Assignee set to Giuseppe Sucameli

#2 Updated by Giuseppe Sucameli about 12 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF