From 99c22d4cf21c2e7e48bd8da688ffbf791eabb72c Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 24 Jul 2002 20:40:59 +0000 Subject: [PATCH] fixes the unwanted quotation of NULLs for the sql insert format. Submitted by Steffen Macke. git-svn-id: http://svn.osgeo.org/postgis/trunk@176 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index 8581bed11..858b89333 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -411,7 +411,7 @@ int Insert_attributes(DBFHandle hDBFHandle, int row){ if(dump_format){ printf("\tNULL"); }else{ - printf(",'NULL'"); + printf(",NULL"); } }else{ if (dump_format){ -- 2.40.0