[postgis-users] Shp2Pgsql - how to handle carriage returns ?

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Fri Apr 3 04:14:47 PDT 2009


Hi there,

I have a shapefile I would like to import into my database, but the  
shp2pgsql seems to have problems with carriage returns in the DBF:

	ERROR:  literal carriage return found in data
	HINT:  Use "\r" to represent carriage return.

What can I do about it? I don't see any solution, other than deleting  
the column where this occurs. But that's not very cool...

Thanks for any hints,

Stef




More information about the postgis-users mailing list