From: Sandro Santilli Date: Wed, 10 Mar 2004 17:23:56 +0000 (+0000) Subject: code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribu... X-Git-Tag: pgis_0_8_2~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37e2d3b3fa746ace20e1b14b62a5f65ced33d927;p=postgis code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribute name git-svn-id: http://svn.osgeo.org/postgis/trunk@483 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index e3194da87..ab7997fc8 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -12,6 +12,9 @@ * ********************************************************************** * $Log$ + * Revision 1.51 2004/03/10 17:23:56 strk + * code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribute name + * * Revision 1.50 2004/03/06 17:43:06 strk * Added RCSID string in usage output * @@ -755,15 +758,25 @@ int main (int ARGC, char **ARGV){ strcpy(col_names, "(" ); } - for(j=0;jpachFieldType[j] == 'D' ) /* Date field */ {