I was attempting to import a polyline roads layer into postgis, using both SPIT in QGIS 1.7 and postGIS GUI for this purpose. I have received errors through both processes as described here:
- SPIT
The database gave an error while executing this SQL: INSERT INTO "public"."highways"("STREET","FROMLEFT","TOLEFT","FROMRIGHT","TORIGHT","STREETCODE","OBJID","USERID","FJUNCTION","TJUNCTION","LENGTH","ROA... (rest of SQL trimmed) The error was: ERROR: value too long for type character varying(31)
- postGIS GUI

What can be the problem and how can I fix it?
Thanks for your response.
Dor