Try and fix shp2pgsql-core for bug #124. Need to change sprintf() to pgis_exec() within the loader.

git-svn-id: http://svn.osgeo.org/postgis/trunk@3999 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Mark Cave-Ayland 2009-04-14 14:25:35 +00:00
parent d12559c444
commit 968d55f9ec

View file

@ -480,7 +480,7 @@ translation_start ()
/*
* Use SQL-standard string escaping rather than PostgreSQL standard
*/
printf("SET STANDARD_CONFORMING_STRINGS TO ON;\n");
if ( ! pgis_exec("SET STANDARD_CONFORMING_STRINGS TO ON") ) return 0;
/*
* Drop table if requested